函数逻辑报告 | 
Source Code:kernel\time\timekeeping.c | 
Create Date:2022-07-27 11:41:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:k_setup_internals - Set up internals to use clocksource clock
函数原型:static void tk_setup_internals(struct timekeeper *tk, struct clocksource *clock)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct timekeeper * | tk | |
| struct clocksource * | clock | 
| 293 | cs_was_changed_seq先自加 | 
| 301 | cycle_last等于cycle_last | 
| 304 | tmp等于NTP_INTERVAL_LENGTH | 
| 306 | ntpinterval等于tmp | 
| 316 | xtime_interval等于interval乘mult | 
| 318 | raw_interval等于interval乘mult | 
| 321 | 如果old_clock则 | 
| 322 | shift_change等于shift减shift | 
| 323 | 如果shift_change小于0则 | 
| 324 | xtime_nsec右移等于负shift_change位 | 
| 325 | xtime_nsec右移等于负shift_change位 | 
| 326 | 否则 | 
| 327 | xtime_nsec左移等于shift_change位 | 
| 328 | xtime_nsec左移等于shift_change位 | 
| 346 | ntp_err_mult等于0 | 
| 名称 | 描述 | 
|---|---|
| change_clocksource | hange_clocksource - Swaps clocksources if a new one is available* Accumulates current time interval and initializes new clocksource | 
| timekeeping_init | 初始化系统时钟计时 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |