summaryrefslogtreecommitdiffstats
path: root/rteval/modules
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2012-12-05 21:02:42 +0100
committerDavid Sommerseth <davids@redhat.com>2012-12-05 21:02:42 +0100
commit24f598369fdaf254a75ec7225de941da391576a4 (patch)
treefd93eb0156d4a361ba5479ed4991a58d8b88a73b /rteval/modules
parentf68bd81cd32ef702b120a6125fe69f6941796a2e (diff)
downloadrteval-24f598369fdaf254a75ec7225de941da391576a4.tar.gz
rteval-24f598369fdaf254a75ec7225de941da391576a4.tar.xz
rteval-24f598369fdaf254a75ec7225de941da391576a4.zip
hwlatdetect: A few more tweaks to make it run
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'rteval/modules')
-rw-r--r--rteval/modules/measurement/HWLatDetect.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/rteval/modules/measurement/HWLatDetect.py b/rteval/modules/measurement/HWLatDetect.py
index b241efa..46c99ff 100644
--- a/rteval/modules/measurement/HWLatDetect.py
+++ b/rteval/modules/measurement/HWLatDetect.py
@@ -59,7 +59,6 @@ class HWLatDetectRunner(rtevalModulePrototype):
self.__hwlat.set('window', int(self.__cfg.setdefault('window', 1000000)))
self.__hwlat.set('width', int(self.__cfg.setdefault('width', 800000)))
self.__hwlat.testduration = int(self.__cfg.setdefault('duration', 10))
- self._log(Log.DEBUG, "__hwlat.setup()")
self.__hwlat.setup()
self.__running = False
@@ -71,9 +70,7 @@ class HWLatDetectRunner(rtevalModulePrototype):
return
self.__running = True
- self._log(Log.INFO, "Starting")
self.__hwlat.detect()
- self._log(Log.INFO, "Completed")
def _WorkloadAlive(self):
@@ -91,6 +88,7 @@ class HWLatDetectRunner(rtevalModulePrototype):
self.__samples.append(s.split('\t'))
self.__running = False
+ self._setFinished()
def MakeReport(self):
@@ -124,7 +122,7 @@ def ModuleInfo():
def create(params, logger):
- return HWLatDetect(params, logger)
+ return HWLatDetectRunner(params, logger)
if __name__ == '__main__':