acrn-hypervisor/hypervisor/include/debug
nacui 512c98fd79 hv: trace: show cpu usage of vms in pcpu sharing case
To maximize the cpu utilization, core 0 is usually shared by service
vm and guest vm. But there are no statistics to show the cpu occupation
of each vm.

This patch is to provide cpu usage statistic for users. To calculate
it, a new trace event is added and marked in scheduling context switch,
accompanying with a new python script to analyze the data from acrntrace
output.

Tracked-On: #8621
Signed-off-by: nacui <na.cui@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Reviewed-by: Haiwei Li <haiwei.li@intel.com>
2024-06-28 12:55:23 +08:00
..
console.h hv: add param to control INIT used to kick pCPU 2022-09-26 13:28:02 +08:00
dbg_cmd.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
dump.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
logmsg.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
npk_log.h
profiling.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
profiling_internal.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
shell.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
trace.h hv: trace: show cpu usage of vms in pcpu sharing case 2024-06-28 12:55:23 +08:00
uart16550.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00