summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/python/swig/stats.i3
-rw-r--r--src/sim/stat_control.cc2
-rw-r--r--src/sim/stat_control.hh2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/python/swig/stats.i b/src/python/swig/stats.i
index 46395eb22..3bdd2c9aa 100644
--- a/src/python/swig/stats.i
+++ b/src/python/swig/stats.i
@@ -123,6 +123,7 @@ reset()
%ignore Stats::Info::flags;
%import "base/stats/types.hh"
+%import "base/types.hh"
%include "base/stats/info.hh"
%include "base/stats/output.hh"
@@ -152,7 +153,7 @@ Output *initText(const std::string &filename, bool desc);
void schedStatEvent(bool dump, bool reset,
Tick when = curTick(), Tick repeat = 0);
-void periodicStatDump(long long period = 0);
+void periodicStatDump(Tick period = 0);
void updateEvents();
diff --git a/src/sim/stat_control.cc b/src/sim/stat_control.cc
index 2b47ded8d..715bb54aa 100644
--- a/src/sim/stat_control.cc
+++ b/src/sim/stat_control.cc
@@ -253,7 +253,7 @@ schedStatEvent(bool dump, bool reset, Tick when, Tick repeat)
}
void
-periodicStatDump(uint64_t period)
+periodicStatDump(Tick period)
{
/*
* If the period is set to 0, then we do not want to dump periodically,
diff --git a/src/sim/stat_control.hh b/src/sim/stat_control.hh
index 9731d87cf..1a0fcb35b 100644
--- a/src/sim/stat_control.hh
+++ b/src/sim/stat_control.hh
@@ -74,7 +74,7 @@ void schedStatEvent(bool dump, bool reset, Tick when = curTick(),
* temporal trends in the data.
* @param period The period at which the dumping should occur.
*/
-void periodicStatDump(uint64_t period = 0);
+void periodicStatDump(Tick period = 0);
} // namespace Stats
#endif // __SIM_STAT_CONTROL_HH__