Function report |
Source Code:arch\x86\kernel\cpu\aperfmperf.c |
Create Date:2022-07-28 07:56:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aperfmperf_get_khz
Proto:unsigned int aperfmperf_get_khz(int cpu)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
int | cpu |
83 | If Not TSC clocks / usec, not used here Then Return 0 |
86 | If Not boot_cpu_has(P-State hardware coordination feedback capability (APERF/MPERF MSRs) ) Then Return 0 |
89 | If Not housekeeping_cpu(cpu, HK_FLAG_MISC) Then Return 0 |
92 | aperfmperf_snapshot_cpu(cpu, ktime_get(), true) |
Name | Describe |
---|---|
show_cpuinfo |
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 |