aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/sched-if.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-02-25 17:58:37 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-02-25 17:58:37 +0100
commiteefccca99ed9ea22cad686d3fddfd327c2dbc877 (patch)
tree62b43ac848714397608f3a748854c1ade0a0dd89 /xen/include/xen/sched-if.h
parent73f56b3d570526fc7dba9fd9ff54b259e95fc0a9 (diff)
downloadxen-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.h6
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[];