aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2012-12-19 20:08:48 +0100
committerDavid Sommerseth <davids@redhat.com>2012-12-19 20:08:48 +0100
commit4abdbbaa01790e9f8d063f219cf23e675a4db52d (patch)
treeb53bf3333f1b7f3961084bfaa1f199d8dcfa1dd3
parent206d298f8aa108ab7a222dd5a8d8a405539e22f8 (diff)
downloadrteval-4abdbbaa01790e9f8d063f219cf23e675a4db52d.tar.gz
Fix minor issues to make HWLatDetect module run
Signed-off-by: David Sommerseth <davids@redhat.com>
-rw-r--r--rteval/modules/measurement/HWLatDetect.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rteval/modules/measurement/HWLatDetect.py b/rteval/modules/measurement/HWLatDetect.py
index b5af34a..d1b6158 100644
--- a/rteval/modules/measurement/HWLatDetect.py
+++ b/rteval/modules/measurement/HWLatDetect.py
@@ -25,8 +25,8 @@
#
import os, sys, libxml2
-from modules import rtevalModulePrototype
-from Log import Log
+from rteval.modules import rtevalModulePrototype
+from rteval.Log import Log
class HWLatDetectRunner(rtevalModulePrototype):
@@ -54,7 +54,7 @@ class HWLatDetectRunner(rtevalModulePrototype):
def _WorkloadPrepare(self):
- self._log(Log.DEBUG, "Preparing hwlatdetect")
+ self._log(Log.DEBUG, "Preparing hwlatdetect")
self.__hwlat.set('threshold', int(self.__cfg.setdefault('threshold', 15)))
self.__hwlat.set('window', int(self.__cfg.setdefault('window', 1000000)))
self.__hwlat.set('width', int(self.__cfg.setdefault('width', 800000)))
@@ -81,7 +81,7 @@ class HWLatDetectRunner(rtevalModulePrototype):
if not self.__running:
return
- self._log(Log.DEBUG, "Parsing results")
+ self._log(Log.DEBUG, "Parsing results")
# Grab the measurement results
self.__exceeding = self.__hwlat.get("count")
for s in self.__hwlat.samples: