#include <itkTimeProbesCollectorBase.h>
Inheritance diagram for itk::TimeProbesCollectorBase:
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 44 of file Common/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 () |
virtual | ~TimeProbesCollectorBase () |
Protected Attributes | |
MapType | m_Probes |
typedef std::string itk::TimeProbesCollectorBase::IdType |
Reimplemented from itk::ProbesCollectorBase< TProbe >.
Definition at line 49 of file Common/itkTimeProbesCollectorBase.h.
typedef std::map<IdType,TimeProbe> itk::TimeProbesCollectorBase::MapType |
Reimplemented from itk::ProbesCollectorBase< TProbe >.
Definition at line 50 of file Common/itkTimeProbesCollectorBase.h.
itk::TimeProbesCollectorBase::TimeProbesCollectorBase | ( | ) |
virtual itk::TimeProbesCollectorBase::~TimeProbesCollectorBase | ( | ) | [virtual] |
virtual itk::TimeProbesCollectorBase::~TimeProbesCollectorBase | ( | ) | [inline, virtual] |
destructor
Definition at line 42 of file Review/itkTimeProbesCollectorBase.h.
virtual void itk::TimeProbesCollectorBase::Clear | ( | void | ) | [virtual] |
Destroy the set of probes. New probes can be created after invoking this method.
Reimplemented from itk::ProbesCollectorBase< TProbe >.
virtual void itk::TimeProbesCollectorBase::Report | ( | std::ostream & | os = std::cout |
) | const [virtual] |
Report the summary of results from the time probes
Reimplemented from itk::ProbesCollectorBase< TProbe >.
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
Reimplemented from itk::ProbesCollectorBase< TProbe >.
virtual void itk::TimeProbesCollectorBase::Stop | ( | const char * | name | ) | [virtual] |
Stop a time probe identified with a name
Reimplemented from itk::ProbesCollectorBase< TProbe >.
MapType itk::TimeProbesCollectorBase::m_Probes [protected] |
Reimplemented from itk::ProbesCollectorBase< TProbe >.
Definition at line 70 of file Common/itkTimeProbesCollectorBase.h.