From c22be9f2f016872b05d65c82055ddc936b4aa075 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Fri, 7 Jan 2011 21:50:29 -0800 Subject: stats: rename StatEvent() function to schedStatEvent(). This follows the style rules and is more descriptive. --- src/python/m5/stats.py | 2 +- src/python/swig/stats.i | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/python') 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(); -- cgit v1.2.3