函数逻辑报告 |
Source Code:kernel\time\timekeeping.c |
Create Date:2022-07-27 11:42:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:adjust_historical_crosststamp - adjust crosstimestamp previous to current interval*@history: Snapshot representing start of history*@partial_history_cycles: Cycle offset into history (fractional part)*@total_history_cycles: Total history length in
函数原型:static int adjust_historical_crosststamp(struct system_time_snapshot *history, u64 partial_history_cycles, u64 total_history_cycles, bool discontinuity, struct system_device_crosststamp *ts)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct system_time_snapshot * | history | |
u64 | partial_history_cycles | |
u64 | total_history_cycles | |
bool | discontinuity | |
struct system_device_crosststamp * | ts |
1038 | tk等于timekeeper |
1043 | 如果total_history_cycles恒等于0或partial_history_cycles恒等于0则返回:0 |
1048 | partial_history_cycles等于如果interp_forward则total_history_cycles减partial_history_cycles否则partial_history_cycles |
1070 | 如果discontinuity则 |
1071 | corr_real等于mul_u64_u32_div(corr_raw, mult, mult) |
1073 | 否则 |
1083 | 如果interp_forward则 |
1086 | 否则 |
1091 | 返回:0 |
名称 | 描述 |
---|---|
get_device_system_crosststamp | get_device_system_crosststamp - Synchronously capture system/device timestamp*@get_time_fn: Callback to get simultaneous device time and* system counter from the device driver*@ctx: Context passed to get_time_fn()*@history_begin: Historical reference |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |