ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkResourceProbesCollectorBase.h>
Aggregates a set of probes.
This class defines a set of ResourceProbes and assign names to them. The user can start and stop each one of the probes by addressing them by name.
Definition at line 38 of file itkResourceProbesCollectorBase.h.
Public Types | |
typedef std::string | IdType |
typedef std::map< IdType, TProbe > | MapType |
Public Member Functions | |
virtual void | Clear () |
virtual void | ExpandedReport (std::ostream &os=std::cout, bool printSystemInfo=true, bool printReportHead=true, bool useTabs=false) |
virtual void | ExpandedReport (const char *name, std::ostream &os=std::cout, bool printSystemInfo=true, bool printReportHead=true, bool useTabs=false) |
const TProbe & | GetProbe (const char *name) const |
virtual void | JSONReport (std::ostream &os=std::cout, bool printSystemInfo=true) |
virtual void | JSONReport (const char *name, std::ostream &os=std::cout) |
virtual void | Report (std::ostream &os=std::cout, bool printSystemInfo=true, bool printReportHead=true, bool useTabs=false) |
virtual void | Report (const char *name, std::ostream &os=std::cout, bool printSystemInfo=true, bool printReportHead=true, bool useTabs=false) |
virtual void | Start (const char *name) |
virtual void | Stop (const char *name) |
virtual | ~ResourceProbesCollectorBase () |
Protected Attributes | |
MapType | m_Probes |
typedef std::string itk::ResourceProbesCollectorBase< TProbe >::IdType |
Definition at line 41 of file itkResourceProbesCollectorBase.h.
typedef std::map< IdType, TProbe > itk::ResourceProbesCollectorBase< TProbe >::MapType |
Definition at line 42 of file itkResourceProbesCollectorBase.h.
|
virtual |
destructor
|
virtual |
Destroy the set of probes. New probes can be created after invoking this method.
|
virtual |
Expanded report of the summary of results from all probes
|
virtual |
Expanded report of the summary of results from a specific probe
const TProbe& itk::ResourceProbesCollectorBase< TProbe >::GetProbe | ( | const char * | name | ) | const |
Returns a named Probe. If the name does not exists an exception is thrown.
|
virtual |
JavaScript Object Notation (JSON) expanded report the summary of results from all probes
|
virtual |
JavaScript Object Notation (JSON) expanded report the summary of results from a specific probe
|
virtual |
Report the summary of results from all probes
|
virtual |
Report the summary of results from a specific probe
|
virtual |
Start a probe with a particular name. If the time probe does not exist, it will be created
|
virtual |
Stop a time probe identified with a name
|
protected |
Definition at line 88 of file itkResourceProbesCollectorBase.h.