Replace curTick global variable with accessor functions.
[gem5.git] / src / base / stats / mysql.cc
index d947122da18fc07c267742ce6e7c253c46339fa3..d257de7434aba62a13584824a67016ac2d1d274b 100644 (file)
@@ -613,7 +613,7 @@ MySql::output()
         configure();
 
     // store sample #
-    newdata.tick = curTick;
+    newdata.tick = curTick();
 
     MySQL::Connection &mysql = run->conn();