#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 () |
typedef unsigned long itk::TimeProbe::CountType |
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.
itk::TimeProbe::TimeProbe | ( | ) |
Constructor
itk::TimeProbe::~TimeProbe | ( | ) |
Destructor
TimeStampType itk::TimeProbe::GetMeanTime | ( | void | ) | const |
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.
Referenced by itk::XMLFilterWatcher::EndFilter().
CountType itk::TimeProbe::GetNumberOfStarts | ( | void | ) | const |
Returns the number of times that the probe has been started.
CountType itk::TimeProbe::GetNumberOfStops | ( | void | ) | const |
Returns the number of times that the probe has been stopped.
void itk::TimeProbe::Start | ( | void | ) |
Start counting the time
Referenced by itk::XMLFilterWatcher::StartFilter().
void itk::TimeProbe::Stop | ( | void | ) |
Stop counting the time
Referenced by itk::XMLFilterWatcher::EndFilter().