Re: [Xen-devel] [RFC 3/6] sysctl: extend XEN_SYSCTL_getcpuinfo interface

2019-07-26 Thread Andrii Anisov
On 26.07.19 15:15, Dario Faggioli wrote: Yep, I think being able to know time spent running guests could be useful. Well, my intention was to see hypervisor run and true idle time. With this full series I see the distinct difference in xentop depending on the type of load in domains: On my

Re: [Xen-devel] [RFC 3/6] sysctl: extend XEN_SYSCTL_getcpuinfo interface

2019-07-26 Thread Dario Faggioli
On Fri, 2019-07-26 at 13:37 +0300, Andrii Anisov wrote: > diff --git a/xen/common/schedule.c b/xen/common/schedule.c > index 0a38d4a..9e8805d 100644 > --- a/xen/common/schedule.c > +++ b/xen/common/schedule.c > @@ -217,6 +217,28 @@ uint64_t get_cpu_idle_time(unsigned int cpu) > return state.ti

[Xen-devel] [RFC 3/6] sysctl: extend XEN_SYSCTL_getcpuinfo interface

2019-07-26 Thread Andrii Anisov
From: Andrii Anisov Extend XEN_SYSCTL_getcpuinfo interface with guest and hypervisor time information. Signed-off-by: Andrii Anisov --- xen/common/schedule.c | 22 ++ xen/common/sysctl.c | 2 ++ xen/include/public/sysctl.h | 2 ++ xen/include/xen/sched.h