Function report |
Source Code:kernel\delayacct.c |
Create Date:2022-07-28 11:48:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Finish delay accounting for a statistic using its timestamps (@start),* accumalator (@total) and @count
Proto:static void delayacct_end(raw_spinlock_t *lock, u64 *start, u64 *total, unsigned int *count)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| raw_spinlock_t * | lock | |
| u64 * | start | |
| u64 * | total | |
| unsigned int * | count |
| 48 | ns = ktime_get_ns() - start |
| 51 | If ns > 0 Then |
| 54 | count++ |
| Name | Describe |
|---|---|
| __delayacct_blkio_end | We cannot rely on the `current` macro, as we haven't yet switched back to* the process being woken. |
| __delayacct_freepages_end | |
| __delayacct_thrashing_end |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |