summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2007-03-23 11:26:30 -0400
committerKevin Lim <ktlim@umich.edu>2007-03-23 11:26:30 -0400
commitabb07d9da32bcb4e91e47fc22c369f1a50c3ffc9 (patch)
tree28c72cf62c5cad8b5237eb2e0661546c49dc0319 /src
parent55a45d364421e50300d64ac02b4d09d975a39eff (diff)
downloadgem5-abb07d9da32bcb4e91e47fc22c369f1a50c3ffc9.tar.xz
Set progress_interval in terms of CPU cycles.
--HG-- extra : convert_revision : 76b0918276cb613eb314ab1479b5ffdb31f31dee
Diffstat (limited to 'src')
-rw-r--r--src/cpu/base.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/base.cc b/src/cpu/base.cc
index 8440d2320..03110630c 100644
--- a/src/cpu/base.cc
+++ b/src/cpu/base.cc
@@ -226,7 +226,8 @@ BaseCPU::startup()
#endif
if (params->progress_interval) {
- new CPUProgressEvent(&mainEventQueue, params->progress_interval,
+ new CPUProgressEvent(&mainEventQueue,
+ cycles(params->progress_interval),
this);
}
}