Function report |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-28 07:46:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Calculate the TSC frequency from HPET reference
Proto:static unsigned long calc_hpet_ref(u64 deltatsc, u64 hpet1, u64 hpet2)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u64 | deltatsc | |
| u64 | hpet1 | |
| u64 | hpet2 |
| 338 | tmp = hpet2 * hpet_readl(HPET_PERIOD) |
| 339 | do_div() is NOT a C function(tmp, 1000000) |
| 342 | Return deltatsc |
| Name | Describe |
|---|---|
| pit_hpet_ptimer_calibrate_cpu | alibrate cpu using pit, hpet, and ptimer methods. They are available* later in boot after acpi is initialized. |
| tsc_refine_calibration_work |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |