diff options
author | sd386@font.cl.cam.ac.uk <sd386@font.cl.cam.ac.uk> | 2005-02-17 18:50:24 +0000 |
---|---|---|
committer | sd386@font.cl.cam.ac.uk <sd386@font.cl.cam.ac.uk> | 2005-02-17 18:50:24 +0000 |
commit | 1276e201ddadd24b017c3550a76488ad282789c3 (patch) | |
tree | cdddf8684b8836114235657786f94b1838de5d0d /xen/include/xen/sched-if.h | |
parent | 0cabc0963227bc9b83e864b087ff0bef20bdbe6b (diff) | |
download | xen-1276e201ddadd24b017c3550a76488ad282789c3.tar.gz xen-1276e201ddadd24b017c3550a76488ad282789c3.tar.bz2 xen-1276e201ddadd24b017c3550a76488ad282789c3.zip |
bitkeeper revision 1.1159.170.104 (4214e770zuNBDS-jq2cWXHSs1B4UOw)
Extended sedf scheduler (weighted extraqueues), added enhanced scheduling histogramm
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r-- | xen/include/xen/sched-if.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h index 15f992614a..a33b0559ed 100644 --- a/xen/include/xen/sched-if.h +++ b/xen/include/xen/sched-if.h @@ -7,7 +7,9 @@ * Portions by Mark Williamson are (C) 2004 Intel Research Cambridge */ -#define BUCKETS 10 +//#define ADV_SCHED_HISTO +#define BUCKETS 10 +/*300*/ typedef struct schedule_data_st { @@ -17,6 +19,11 @@ typedef struct schedule_data_st struct domain *idle; /* idle task for this cpu */ void * sched_priv; struct ac_timer s_timer; /* scheduling timer */ +#ifdef ADV_SCHED_HISTO + u32 to_hist[BUCKETS]; + u32 from_hist[BUCKETS]; + u64 save_tsc; +#endif #ifdef BUCKETS u32 hist[BUCKETS]; /* for scheduler latency histogram */ #endif @@ -55,5 +62,3 @@ struct scheduler /* per CPU scheduler information */ extern schedule_data_t schedule_data[]; - - |