#include <itkTimeProbe.h>
Collaboration diagram for itk::TimeProbe:

This class allows the user to trace the time passed between the execution of two pieces of code. It can be started and stopped in order to evaluate the execution over multiple passes. The values of time are taken from the RealTimeClock.
Definition at line 38 of file itkTimeProbe.h.
Public Types | |
| typedef unsigned long | CountType |
| typedef RealTimeClock::TimeStampType | TimeStampType |
Public Member Functions | |
| TimeStampType | GetMeanTime (void) const |
| CountType | GetNumberOfStarts (void) const |
| CountType | GetNumberOfStops (void) const |
| void | Start (void) |
| void | Stop (void) |
| TimeProbe () | |
| ~TimeProbe () | |
|
|
Type for counting how many times the probe has been started and stopped. Definition at line 44 of file itkTimeProbe.h. |
|
|
Type for measuring time. See the RealTimeClock class for details on the precision and units of this clock signal Definition at line 48 of file itkTimeProbe.h. |
|
|
Constructor |
|
|
Destructor |
|
|
Returns the average times passed between the starts and stops of the probe. See the RealTimeClock for details on the precision and units of this time value. |
|
|
Returns the number of times that the probe has been started. |
|
|
Returns the number of times that the probe has been stopped. |
|
|
Start counting the time |
|
|
Stop counting the time |
1.4.2 written by Dimitri van Heesch,
© 1997-2000