Function report |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-28 07:46:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Secondary CPUs do not run through tsc_init(), so set up* all the scale factors for all CPUs, assuming the same* speed as the bootup CPU.
Proto:static void __init cyc2ns_init_secondary_cpus(void)
Type:void
Parameter:Nothing
| 193 | this_cpu = smp_processor_id() |
| 194 | c2n = this_cpu_ptr( & cyc2ns) |
| 195 | data = 0 + 2*16 = 32 |
| 197 | for_each_possible_cpu(cpu) |
| 199 | seqcount_init( & 32 + 4 = 36 ) |
| 200 | c2n = per_cpu_ptr( & cyc2ns, cpu) |
| 201 | 0 + 2*16 = 32 [0] = data[0] |
| 202 | 0 + 2*16 = 32 [1] = data[1] |
| Name | Describe |
|---|---|
| tsc_init |
| 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 |