diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-02-25 17:58:37 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-02-25 17:58:37 +0100 |
commit | eefccca99ed9ea22cad686d3fddfd327c2dbc877 (patch) | |
tree | 62b43ac848714397608f3a748854c1ade0a0dd89 /xen/include/xen/sched-if.h | |
parent | 73f56b3d570526fc7dba9fd9ff54b259e95fc0a9 (diff) | |
download | xen-eefccca99ed9ea22cad686d3fddfd327c2dbc877.tar.gz xen-eefccca99ed9ea22cad686d3fddfd327c2dbc877.tar.bz2 xen-eefccca99ed9ea22cad686d3fddfd327c2dbc877.zip |
New VCPUOP_get_runstate_info hypercall. Returns information about the current
run state of a VCPU (running, runnable, blocked, etc.) and the total time
spent in each state since the VCPU was created.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r-- | xen/include/xen/sched-if.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h index d61d5c70d3..0317d9433f 100644 --- a/xen/include/xen/sched-if.h +++ b/xen/include/xen/sched-if.h @@ -8,9 +8,6 @@ #ifndef __XEN_SCHED_IF_H__ #define __XEN_SCHED_IF_H__ -#define BUCKETS 10 -/*300*/ - struct schedule_data { spinlock_t schedule_lock; /* spinlock protecting curr */ struct vcpu *curr; /* current task */ @@ -18,9 +15,6 @@ struct schedule_data { void *sched_priv; struct timer s_timer; /* scheduling timer */ unsigned long tick; /* current periodic 'tick' */ -#ifdef BUCKETS - u32 hist[BUCKETS]; /* for scheduler latency histogram */ -#endif } __cacheline_aligned; extern struct schedule_data schedule_data[]; |