diff options
author | David Sommerseth <davids@redhat.com> | 2012-12-19 20:08:48 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-12-19 20:08:48 +0100 |
commit | 4abdbbaa01790e9f8d063f219cf23e675a4db52d (patch) | |
tree | b53bf3333f1b7f3961084bfaa1f199d8dcfa1dd3 | |
parent | 206d298f8aa108ab7a222dd5a8d8a405539e22f8 (diff) | |
download | rteval-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.py | 8 |
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: |