Dear All,
I am trying to understand the code that gives the time spent on CPU by each domain that is printed on console by executing 'xm list'. My intention is to get the CPU usage of each domain. I have tried the xentop.c but there it gives me the potential usage of CPU for either dom0 or any domU but not the actual usage. The code for xm is all listed in python which I am not so comfortable with, it would help if I can get hold of an source tree chain to better understand the flow.
Please suggest me the source tree that I should start browsing. I have been able to find the calls that measures the idle time of the cpu (xc_getcpuinfo()) but am not sure if I will be able to get that on per domain basis.
I am using paravirtualized setup of xen.
Regards, Ata
Videos Get the latest video streams on movies, Try it!
|