函数逻辑报告 |
Source Code:arch\x86\kernel\kvmclock.c |
Create Date:2022-07-27 09:44:25 |
Last Modify:2020-03-18 12:41:45 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kvmclock_init
函数原型:void __init kvmclock_init(void)
返回类型:void
参数:无
312 | 如果非kvm_para_available()或非kvmclock则返回 |
318 | 否则如果非kvm_para_has_feature(KVM_FEATURE_CLOCKSOURCE)则 |
319 | 返回 |
324 | 返回 |
327 | 打印信息("kvm-clock: Using msrs %x and %x", msr_kvm_system_time, msr_kvm_wall_clock) |
330 | 抢占保护下的写CPU(hv_clock_per_cpu, & hv_clock_boot[0]) |
331 | kvm_register_clock("primary cpu clock") |
337 | flags等于pvclock_read_flags( & pvti) |
340 | calibrate_tsc等于If we don't do that, there is the possibility that the guest* will calibrate under heavy load - thus, getting a lower lpj -* and execute the delays themselves without load |
341 | calibrate_cpu等于If we don't do that, there is the possibility that the guest* will calibrate under heavy load - thus, getting a lower lpj -* and execute the delays themselves without load |
342 | get_wallclock等于The wallclock is the time of day when we booted. Since then, some time may* have elapsed since the hypervisor wrote the data. So we try to account for* that with system time |
349 | shutdown等于kvm_shutdown |
353 | kvm_get_preset_lpj() |
363 | 如果boot_cpu_has(TSC ticks at a constant rate )且boot_cpu_has(TSC does not stop in C states )且非check_tsc_unstable()则rating等于299 |
368 | clocksource_register_hz( & kvm_clock, NSEC_PER_SEC) |
369 | name等于"KVM" |
名称 | 描述 |
---|---|
kvm_init_platform |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |