From: Kevin Lim Date: Fri, 23 Mar 2007 15:26:30 +0000 (-0400) Subject: Set progress_interval in terms of CPU cycles. X-Git-Tag: m5_2.0_beta3~74^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abb07d9da32bcb4e91e47fc22c369f1a50c3ffc9;p=gem5.git Set progress_interval in terms of CPU cycles. --HG-- extra : convert_revision : 76b0918276cb613eb314ab1479b5ffdb31f31dee --- 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); } }