Package coro :: Module _coro :: Class rusage_bench
[hide private]
[frames] | no frames]

Class rusage_bench

object --+    
         |    
     bench --+
             |
            rusage_bench

Subclass of bench object that tracks rusage data.
Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__repr__(x)
repr(x)
 
get_data(...)
Get the data for this bench object.
 
get_headings(...)
Get a description of the data elements.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
  aggregate_ru
: Aggregate (including callees) data.
  ru
: Rusage object value.

Inherited from bench: aggregate_ticks, calls, ticks

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__repr__(x)
(Representation operator)

 
repr(x)
Overrides: object.__repr__

get_data(...)

 
Get the data for this bench object.
Returns:
Returns a tuple (calls, regular_time, aggregate_time). The values regular_time and aggregate_time are both tuples of values. Call the get_headings method for a description of each element in the tuple.
Overrides: bench.get_data
(inherited documentation)

get_headings(...)

 
Get a description of the data elements.
Returns:
Returns a tuple of strings describing the data elements from get_data.
Overrides: bench.get_headings
(inherited documentation)