aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sched_credit.c
diff options
context:
space:
mode:
authorGeorge Dunlap <george.dunlap@eu.citrix.com>2012-02-23 10:16:10 +0000
committerGeorge Dunlap <george.dunlap@eu.citrix.com>2012-02-23 10:16:10 +0000
commit7a191adcfb36836c7ee472e2daa50bdad365e484 (patch)
tree083107b0b7ec495523a1f2cef34a46de08693e25 /xen/common/sched_credit.c
parent558ab895129b568e4ff77e5974d5ffadf708e618 (diff)
downloadxen-7a191adcfb36836c7ee472e2daa50bdad365e484.tar.gz
xen-7a191adcfb36836c7ee472e2daa50bdad365e484.tar.bz2
xen-7a191adcfb36836c7ee472e2daa50bdad365e484.zip
scheduler: Print ratelimit in scheduler debug key
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/sched_credit.c')
-rw-r--r--xen/common/sched_credit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c
index 015ea21a70..2579a226a0 100644
--- a/xen/common/sched_credit.c
+++ b/xen/common/sched_credit.c
@@ -1504,6 +1504,7 @@ csched_dump(const struct scheduler *ops)
"\trunq_sort = %u\n"
"\tdefault-weight = %d\n"
"\ttslice = %dms\n"
+ "\tratelimit = %dus\n"
"\tcredits per msec = %d\n"
"\tticks per tslice = %d\n"
"\tmigration delay = %uus\n",
@@ -1515,6 +1516,7 @@ csched_dump(const struct scheduler *ops)
prv->runq_sort,
CSCHED_DEFAULT_WEIGHT,
prv->tslice_ms,
+ prv->ratelimit_us,
CSCHED_CREDITS_PER_MSEC,
prv->ticks_per_tslice,
vcpu_migration_delay);