Function report |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-28 07:46:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tsc_refine_calibration_work
Proto:static void tsc_refine_calibration_work(struct work_struct *work)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct work_struct * | work |
1292 | tsc_start = ULLONG_MAX |
1299 | If TSC can be unstable due to cpufreq or due to unsynced TSCs Then Go to unreg |
1307 | If tsc_start == ULLONG_MAX Then |
1326 | If tsc_stop == ULLONG_MAX Then Go to restart |
1330 | delta *= 1000000LL |
1331 | If hpet Then freq = Calculate the TSC frequency from HPET reference |
1341 | pr_info("Refined TSC clocksource calibration: %lu.%03lu MHz\n", (unsignedlong)tsc_khz / 1000, (unsignedlong)tsc_khz % 1000) |
1346 | lapic_update_tsc_freq() |
1349 | for_each_possible_cpu(cpu) |
1350 | set_cyc2ns_scale(tsc_khz, cpu, tsc_stop) |
1352 | out : |
1353 | If TSC can be unstable due to cpufreq or due to unsynced TSCs Then Go to unreg |
1359 | unreg : |
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 |