#include <itkTimeProbesCollectorBase.h>
This class defines a set of TimeProbes and assign names to them. The user can start and stop each one of the probes by addressing them by name.
Definition at line 39 of file itkTimeProbesCollectorBase.h.
Public Types | |
typedef std::string | IdType |
typedef std::map< IdType, TimeProbe > | MapType |
Public Member Functions | |
virtual void | Clear (void) |
virtual void | Report (std::ostream &os=std::cout) const |
virtual void | Start (const char *name) |
virtual void | Stop (const char *name) |
TimeProbesCollectorBase () | |
virtual | ~TimeProbesCollectorBase () |
Protected Attributes | |
MapType | m_Probes |
typedef std::string itk::TimeProbesCollectorBase::IdType |
Definition at line 44 of file itkTimeProbesCollectorBase.h.
typedef std::map<IdType,TimeProbe> itk::TimeProbesCollectorBase::MapType |
Definition at line 45 of file itkTimeProbesCollectorBase.h.
itk::TimeProbesCollectorBase::TimeProbesCollectorBase | ( | ) |
virtual itk::TimeProbesCollectorBase::~TimeProbesCollectorBase | ( | ) | [virtual] |
virtual void itk::TimeProbesCollectorBase::Clear | ( | void | ) | [virtual] |
Destroy the set of probes. New probes can be created after invoking this method.
virtual void itk::TimeProbesCollectorBase::Report | ( | std::ostream & | os = std::cout |
) | const [virtual] |
Report the summary of results from the time probes
virtual void itk::TimeProbesCollectorBase::Start | ( | const char * | name | ) | [virtual] |
Start a time probe with a particular name. If the time probe does not exist, it will be created
virtual void itk::TimeProbesCollectorBase::Stop | ( | const char * | name | ) | [virtual] |
Stop a time probe identified with a name
MapType itk::TimeProbesCollectorBase::m_Probes [protected] |
Definition at line 65 of file itkTimeProbesCollectorBase.h.