Package esys :: Package escript :: Module benchmark :: Class BenchmarkProblem
[show private | hide private]
[frames | no frames]

Type BenchmarkProblem

object --+
         |
        BenchmarkProblem

Known Subclasses:
FinleyProblem

something that can be run and returns a list of characteristics such as timing, Mflops, error, etc.
Method Summary
  __init__(self, name)
sets up a benchmark problem
str __str__(self)
returns the name of the benchmark suite
any type that can be read by the BenchmarkFilter applied to it. run(self, options)
runs the problem and returns a list of run characteristics
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Method Details

__init__(self, name=None)
(Constructor)

sets up a benchmark problem
Parameters:
name - name of the problem. If no name is given the class name is used.
           (type=str)
Overrides:
__builtin__.object.__init__

__str__(self)
(Informal representation operator)

returns the name of the benchmark suite
Returns:
name
           (type=str)
Overrides:
__builtin__.object.__str__

run(self, options=None)

runs the problem and returns a list of run characteristics
Parameters:
options - the options that are used for the run. Note that the number of OpenMP threads is controlled by the Benchmark the problem is run in.
           (type=Options)
Returns:
run characteristics
           (type=any type that can be read by the BenchmarkFilter applied to it.)

Generated by Epydoc 2.1 on Thu Apr 27 11:16:15 2006 http://epydoc.sf.net