diff options
author | Jeremy Fitzhardinge <jeremy@xensource.com> | 2007-07-18 03:37:05 +0200 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-07-18 17:47:43 +0200 |
commit | ab55028886dd1dd54585f22bf19a00eb23869340 (patch) | |
tree | 083c0c3603242c3794eb9396342a590cf920a8b8 /include/xen/events.h | |
parent | xen: Account for stolen time (diff) | |
download | linux-ab55028886dd1dd54585f22bf19a00eb23869340.tar.xz linux-ab55028886dd1dd54585f22bf19a00eb23869340.zip |
xen: Implement sched_clock
Implement xen_sched_clock, which returns the number of ns the current
vcpu has been actually in an unstolen state (ie, running or blocked,
vs runnable-but-not-running, or offline) since boot.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Acked-by: Chris Wright <chrisw@sous-sol.org>
Cc: john stultz <johnstul@us.ibm.com>
Diffstat (limited to 'include/xen/events.h')
0 files changed, 0 insertions, 0 deletions