函数逻辑报告 |
Source Code:kernel\time\clocksource.c |
Create Date:2022-07-27 11:44:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:locks_calc_max_nsecs - Returns maximum nanoseconds that can be converted*@mult: cycle to nanosecond multiplier*@shift: cycle to nanosecond divisor (power of two)*@maxadj: maximum adjustment value to mult (~11%)*@mask: bitmask for two's complement
函数原型:u64 clocks_calc_max_nsecs(unsigned int mult, unsigned int shift, unsigned int maxadj, u64 mask, u64 *max_cyc)
返回类型:u64
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | mult | |
| unsigned int | shift | |
| unsigned int | maxadj | |
| u64 | mask | |
| u64 * | max_cyc |
| 674 | max_cycles等于ULLONG_MAX |
| 683 | max_cycles等于两数取小(max_cycles, mask) |
| 687 | 如果max_cyc则max_cyc等于max_cycles |
| 691 | max_nsecs右移等于1位 |
| 693 | 返回:max_nsecs |
| 名称 | 描述 |
|---|---|
| clocksource_update_max_deferment | locksource_update_max_deferment - Updates the clocksource max_idle_ns & max_cycles*@cs: Pointer to clocksource to be updated |
| sched_clock_register |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |