diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-07 21:50:29 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-07 21:50:29 -0800 |
commit | c22be9f2f016872b05d65c82055ddc936b4aa075 (patch) | |
tree | a261c6044632eab6cd472869932a9ddfb4e425c1 /src/python | |
parent | 94807214c417f3124e2824597c2867f91c1017b3 (diff) | |
download | gem5-c22be9f2f016872b05d65c82055ddc936b4aa075.tar.xz |
stats: rename StatEvent() function to schedStatEvent().
This follows the style rules and is more descriptive.
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/m5/stats.py | 2 | ||||
-rw-r--r-- | src/python/swig/stats.i | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/python/m5/stats.py b/src/python/m5/stats.py index 907fad531..24072aeb0 100644 --- a/src/python/m5/stats.py +++ b/src/python/m5/stats.py @@ -28,7 +28,7 @@ import internal -from internal.stats import StatEvent as event +from internal.stats import schedStatEvent as schedEvent from objects import Root def initText(filename, desc=True): diff --git a/src/python/swig/stats.i b/src/python/swig/stats.i index eaa4c31c8..67ce72173 100644 --- a/src/python/swig/stats.i +++ b/src/python/swig/stats.i @@ -50,7 +50,8 @@ void initMySQL(std::string host, std::string database, std::string user, std::string passwd, std::string project, std::string name, std::string sample); -void StatEvent(bool dump, bool reset, Tick when = curTick, Tick repeat = 0); +void schedStatEvent(bool dump, bool reset, + Tick when = curTick, Tick repeat = 0); void enable(); void prepare(); |