summaryrefslogtreecommitdiffstats
path: root/rteval/modules/measurement/cyclictest.py
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2012-12-18 22:31:24 +0100
committerDavid Sommerseth <davids@redhat.com>2012-12-18 22:31:24 +0100
commitefe7c056315f7e613f125089300ae142150aa99c (patch)
treecf916cc523b88bc5d3306a3f1e95707b8eb4ba76 /rteval/modules/measurement/cyclictest.py
parentfa6ff23d9c10e8f94b0d9ed85f4723f4646d0ad3 (diff)
downloadrteval-efe7c056315f7e613f125089300ae142150aa99c.tar.gz
rteval-efe7c056315f7e613f125089300ae142150aa99c.tar.xz
rteval-efe7c056315f7e613f125089300ae142150aa99c.zip
Add module options for the currently available modules
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'rteval/modules/measurement/cyclictest.py')
-rw-r--r--rteval/modules/measurement/cyclictest.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/rteval/modules/measurement/cyclictest.py b/rteval/modules/measurement/cyclictest.py
index 4be0238..59a6dcd 100644
--- a/rteval/modules/measurement/cyclictest.py
+++ b/rteval/modules/measurement/cyclictest.py
@@ -296,10 +296,30 @@ class Cyclictest(rtevalModulePrototype):
return rep_n
+
def ModuleInfo():
return {"parallel": True,
"loads": True}
+
+
+def ModuleParameters():
+ return {"interval": {"descr": "Base interval of the threads in microseconds",
+ "default": 100,
+ "metavar": "INTV_US"},
+ "buckets": {"descr": "Histogram width",
+ "default": 2000,
+ "metavar": "NUM"},
+ "distance": {"descr": "The distance of the thread intervals in microseconds",
+ "default": 0,
+ "metavar": "DIST_US"},
+ "priority": {"descr": "Run cyclictest with the given priority",
+ "default": 95,
+ "metavar": "PRIO"}
+ }
+
+
+
def create(params, logger):
return Cyclictest(params, logger)