diff options
author | Sascha Bischoff <sascha.bischoff@arm.com> | 2013-01-07 16:56:36 -0500 |
---|---|---|
committer | Sascha Bischoff <sascha.bischoff@arm.com> | 2013-01-07 16:56:36 -0500 |
commit | 8a767885d658e4c52e1f81932426233aa1975ed8 (patch) | |
tree | b133f49c17312404c9f4aa640b74538b79fc0c32 /src/sim/stat_control.hh | |
parent | 9f15510c2c0c346faf107a47486cc06d4921e7c9 (diff) | |
download | gem5-8a767885d658e4c52e1f81932426233aa1975ed8.tar.xz |
stats: Fix swig wrapping for Tick in stats
Tick was not correctly wrapped for the stats system, and therefore it was not
possible to configure the stats dumping from the python scripts without
defining Ticks as long long. This patch fixes the wrapping of Tick by copying
the typemap of uint64_t to Tick.
Diffstat (limited to 'src/sim/stat_control.hh')
-rw-r--r-- | src/sim/stat_control.hh | 2 |
1 files changed, 1 insertions, 1 deletions
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__ |