aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sched_sedf.c
diff options
context:
space:
mode:
authorDario Faggioli <dario.faggioli@citrix.com>2012-10-23 04:21:50 -0700
committerDario Faggioli <dario.faggioli@citrix.com>2012-10-23 04:21:50 -0700
commit240e2d274515be77fdc480a09931bab5e88fe3da (patch)
tree487c3b5d5bc5c08ab443d55034bea365178e46d5 /xen/common/sched_sedf.c
parentadb26c09f26e34324e25f5947e3615f6e686ee34 (diff)
downloadxen-240e2d274515be77fdc480a09931bab5e88fe3da.tar.gz
xen-240e2d274515be77fdc480a09931bab5e88fe3da.tar.bz2
xen-240e2d274515be77fdc480a09931bab5e88fe3da.zip
xen: sched_sedf: remove an unused stat in SEDF
Namely, `short_cont' which is not updated anywhere in the code. Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com> Acked-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/sched_sedf.c')
-rw-r--r--xen/common/sched_sedf.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c
index 240a909f38..c45cca0720 100644
--- a/xen/common/sched_sedf.c
+++ b/xen/common/sched_sedf.c
@@ -97,7 +97,6 @@ struct sedf_vcpu_info {
int block_tot;
int short_block_tot;
int long_block_tot;
- int short_cont;
int pen_extra_blocks;
int pen_extra_slices;
#endif
@@ -1201,12 +1200,10 @@ static void sedf_dump_domain(struct vcpu *d)
printk(" pen=%"PRIu64"%%", (EDOM_INFO(d)->penalty_time_tot * 100) /
EDOM_INFO(d)->block_time_tot);
if ( EDOM_INFO(d)->block_tot != 0 )
- printk("\n blks=%u sh=%u (%u%%) (shc=%u (%u%%) shex=%i "\
+ printk("\n blks=%u sh=%u (%u%%) (shex=%i "\
"shexsl=%i) l=%u (%u%%) avg: b=%"PRIu64" p=%"PRIu64"",
EDOM_INFO(d)->block_tot, EDOM_INFO(d)->short_block_tot,
- (EDOM_INFO(d)->short_block_tot * 100)
- / EDOM_INFO(d)->block_tot, EDOM_INFO(d)->short_cont,
- (EDOM_INFO(d)->short_cont * 100) / EDOM_INFO(d)->block_tot,
+ (EDOM_INFO(d)->short_block_tot * 100) / EDOM_INFO(d)->block_tot,
EDOM_INFO(d)->pen_extra_blocks,
EDOM_INFO(d)->pen_extra_slices,
EDOM_INFO(d)->long_block_tot,