函数逻辑报告 |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-27 08:46:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Try to calibrate the TSC against the Programmable* Interrupt Timer and return the frequency of the TSC* in kHz.* Return ULONG_MAX on failure to calibrate.
函数原型:static unsigned long pit_calibrate_tsc(unsigned int latch, unsigned long ms, int loopmin)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | latch | |
unsigned long | ms | |
int | loopmin |
387 | 如果非has_legacy_pic()则 |
398 | 返回:ULONG_MAX |
402 | Basic port I/O |
409 | Basic port I/O |
410 | Basic port I/O |
411 | Basic port I/O |
413 | tsc等于t1等于t2等于get_cycles() |
415 | pitcnt等于0 |
416 | tscmax等于0 |
419 | t2等于get_cycles() |
426 | pitcnt自加 |
444 | 返回:delta |
名称 | 描述 |
---|---|
pit_hpet_ptimer_calibrate_cpu | alibrate cpu using pit, hpet, and ptimer methods. They are available* later in boot after acpi is initialized. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |