函数逻辑报告 |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-27 08:46:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:pit_expect_msb
函数原型:static inline int pit_expect_msb(unsigned char val, u64 *tscp, unsigned long *deltap)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned char | val | |
| u64 * | tscp | |
| unsigned long * | deltap |
| 495 | 如果非This reads the current MSB of the PIT counter, and* checks if we are running on sufficiently fast and* non-virtualized hardware则退出 |
| 498 | tsc等于get_cycles() |
| 500 | deltap等于get_cycles()减prev_tsc |
| 507 | 返回:count大于5 |
| 名称 | 描述 |
|---|---|
| quick_pit_calibrate |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |