函数逻辑报告 |
Source Code:kernel\delayacct.c |
Create Date:2022-07-27 12:53:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Finish delay accounting for a statistic using its timestamps (@start),* accumalator (@total) and @count
函数原型:static void delayacct_end(raw_spinlock_t *lock, u64 *start, u64 *total, unsigned int *count)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| raw_spinlock_t * | lock | |
| u64 * | start | |
| u64 * | total | |
| unsigned int * | count |
| 48 | ns等于ktime_get_ns()减start |
| 51 | 如果ns大于0则 |
| 54 | count自加 |
| 名称 | 描述 |
|---|---|
| __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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |