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

Type BenchmarkFilter

object --+
         |
        BenchmarkFilter

Known Subclasses:
FinleyFilter

object to filter the characteristcs returned by Bechmark runs.
Method Summary
  __init__(self)
sets up a filter
list of str __call__(self, result)
filters out values results returned as characteristcs of a problem run
list of str getResultNames(self)
return the names of the results produced when run() is called.
    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
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self)
(Constructor)

sets up a filter
Overrides:
__builtin__.object.__init__

__call__(self, result)
(Call operator)

filters out values results returned as characteristcs of a problem run
Parameters:
result - values to be filtered
           (type=any type that is produced by the BenchmarkProblem it is applied to)
Returns:
a list of strings selected from result
           (type=list of str)

getResultNames(self)

return the names of the results produced when run() is called.
Returns:
names the list of the names to be used when the results of the run() call are printed
           (type=list of str)

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