Package funkload :: Module BenchRunner :: Class BenchRunner
[show private | hide private]
[frames | no frames]

Class BenchRunner


Run a unit test in bench mode.
Method Summary
  __init__(self, module_file, class_name, method_name, options)
  __repr__(self)
Display bench information.
  dumpThreads(self)
Display all different traceback of Threads for debugging.
  logging(self)
Log activity during duration.
  logr(self, message)
Log to the test result file.
  logr_close(self)
Stop logging tag.
  logr_open(self)
Start logging tag.
  run(self)
Run all the cycles.
  startMonitors(self, monitor_key)
Start monitoring on hosts list.
  startThreads(self, cycle, number_of_threads)
Starting threads.
  stopMonitors(self, monitor_key)
Stop monitoring and save xml result.
  stopThreads(self)
Wait for thread endings.

Method Details

__repr__(self)
(Representation operator)

Display bench information.

dumpThreads(self)

Display all different traceback of Threads for debugging.

Require threadframe module.

logging(self)

Log activity during duration.

logr(self, message)

Log to the test result file.

logr_close(self)

Stop logging tag.

logr_open(self)

Start logging tag.

run(self)

Run all the cycles.

return 0 on success, 1 if there were some failures and -1 on errors.

startMonitors(self, monitor_key)

Start monitoring on hosts list.

startThreads(self, cycle, number_of_threads)

Starting threads.

stopMonitors(self, monitor_key)

Stop monitoring and save xml result.

stopThreads(self)

Wait for thread endings.

Generated by Epydoc 2.1 on Tue Feb 27 10:41:42 2007 http://epydoc.sf.net