#include <itkMemoryProbesCollectorBase.h>
Public Types | |
typedef std::string | IdType |
typedef std::map< IdType, MemoryProbe > | 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) |
virtual | ~MemoryProbesCollectorBase () |
Protected Attributes | |
MapType | m_Probes |
This class defines a set of MemoryProbes and assign names to them. The user can start and stop each one of the probes by addressing them by name.
Definition at line 36 of file itkMemoryProbesCollectorBase.h.
typedef std::string itk::ResourceProbesCollectorBase< MemoryProbe >::IdType [inherited] |
Definition at line 41 of file itkResourceProbesCollectorBase.h.
typedef std::map<IdType,MemoryProbe > itk::ResourceProbesCollectorBase< MemoryProbe >::MapType [inherited] |
Definition at line 42 of file itkResourceProbesCollectorBase.h.
virtual itk::MemoryProbesCollectorBase::~MemoryProbesCollectorBase | ( | ) | [inline, virtual] |
Definition at line 39 of file itkMemoryProbesCollectorBase.h.
virtual void itk::ResourceProbesCollectorBase< MemoryProbe >::Clear | ( | void | ) | [virtual, inherited] |
Destroy the set of probes. New probes can be created after invoking this method.
virtual void itk::ResourceProbesCollectorBase< MemoryProbe >::Report | ( | std::ostream & | os = std::cout |
) | const [virtual, inherited] |
Report the summary of results from the probes
virtual void itk::ResourceProbesCollectorBase< MemoryProbe >::Start | ( | const char * | name | ) | [virtual, inherited] |
Start a probe with a particular name. If the time probe does not exist, it will be created
virtual void itk::ResourceProbesCollectorBase< MemoryProbe >::Stop | ( | const char * | name | ) | [virtual, inherited] |
Stop a time probe identified with a name
MapType itk::ResourceProbesCollectorBase< MemoryProbe >::m_Probes [protected, inherited] |
Definition at line 61 of file itkResourceProbesCollectorBase.h.