#include <acstimeProfiler.h>
Collaboration diagram for Profiler:

Public Member Functions | |
| Profiler () | |
| virtual | ~Profiler () |
| void | reset () |
| void | start () |
| ACS::Time | stop () |
| void | fullDescription (const char *msg) |
| void | addData (const char *key, const char *value) |
Private Member Functions | |
| Profiler (const Profiler &) | |
| void | operator= (const Profiler &) |
Private Attributes | |
| ACS::Time | lastStart_m |
| ACS::Time | totalTime |
| total time that has passed between all start/stops | |
| unsigned long | totalNumStarts_m |
| total number of times start/stop has been invoked | |
| ACS::Time | minDuration |
| the smallest amount of time that has passed between a start/stop | |
| ACS::Time | maxDuration |
| the largest amount of time that has passed between a start/stop | |
| std::string | extraDescrip_m |
| EpochHelper * | epochHelper_mp |
| Helper object. | |
TODO:
|
|
Constructor |
|
|
Destructor |
|
|
Copy not allowed. |
|
||||||||||||
|
Adds arbitrary data to the full description. |
|
|
Prints out a full description of all times that were saved along with other relevant statistical data.
|
|
|
Assignment not allowed. |
|
|
Resets this class's values.
|
|
|
Starts a timing operation.
|
|
|
Stops a timing operation. Can only be called after a start invocation.
|
|
|
Helper object.
|
|
|
|
|
|
last time start was invoked |
|
|
the largest amount of time that has passed between a start/stop
|
|
|
the smallest amount of time that has passed between a start/stop
|
|
|
total number of times start/stop has been invoked
|
|
|
total time that has passed between all start/stops
|
1.3.8