Home | Trees | Indices | Help |
---|
|
Base class for accounting probes
Accounting probes must extend this class, and can override some of the methods to make sure the accounting framework runs the probe at certain points (see method documentation for details on when to override a method).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Constructor Child classes must use their constructors to create counters (with AccountingDataCollection.create_counter) and specify per-lease data (with AccountingDataCollection.create_lease_stat) and per-run data (with AccountingDataCollection.create_stat).
|
Finalize data collection. Override this method to perform any actions when data collection stops. This is usually where per-run data is computed. |
Collect data at a timestep. Override this method to perform any actions every time the Haizea scheduler wakes up.
|
Collect data after a lease request. Override this method to perform any actions after a lease has been requested.
|
Collect data when a lease is done (this includes successful completion and rejected/cancelled/failed leases).
|
Convenience function that sets the value of a per-run stat with the last value of a counter.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Dec 17 10:59:19 2009 | http://epydoc.sourceforge.net |