Set progress_interval in terms of CPU cycles.
authorKevin Lim <ktlim@umich.edu>
Fri, 23 Mar 2007 15:26:30 +0000 (11:26 -0400)
committerKevin Lim <ktlim@umich.edu>
Fri, 23 Mar 2007 15:26:30 +0000 (11:26 -0400)
--HG--
extra : convert_revision : 76b0918276cb613eb314ab1479b5ffdb31f31dee

src/cpu/base.cc

index 8440d23209fbf4d8455de3ec729b8438a7096751..03110630c580cc4725e75bd56d96a83f7c7f558c 100644 (file)
@@ -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);
     }
 }