summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-02-18 05:50:51 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2014-02-18 05:50:51 -0500
commitc9cb492e1c10ff15efcf87fa9cab1e74fceb7588 (patch)
tree355b24a9d0d8fb797123ffb3fd51e8f78b01b01e
parent5abbb84f02d4688956a6a042eca2fc0c02f60ae7 (diff)
downloadgem5-c9cb492e1c10ff15efcf87fa9cab1e74fceb7588.tar.xz
mem: Fix input to DPRINTF in CommMonitor
Minor fix of the debug message parameters.
-rw-r--r--src/mem/comm_monitor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/comm_monitor.cc b/src/mem/comm_monitor.cc
index 5db6f5e9a..655265c37 100644
--- a/src/mem/comm_monitor.cc
+++ b/src/mem/comm_monitor.cc
@@ -83,8 +83,8 @@ CommMonitor::CommMonitor(Params* params)
samplePeriod.setTick(params->sample_period);
DPRINTF(CommMonitor,
- "Created monitor %s with sample period %d ticks (%f s)\n",
- name(), samplePeriodTicks, samplePeriod);
+ "Created monitor %s with sample period %d ticks (%f ms)\n",
+ name(), samplePeriodTicks, samplePeriod.msec());
}
void