RTK  2.0.1
Reconstruction Toolkit
Public Types | Public Member Functions | Protected Attributes | List of all members
rtk::GlobalTimerProbesCollector Class Reference

#include <rtkGlobalTimerProbesCollector.h>

+ Collaboration diagram for rtk::GlobalTimerProbesCollector:

Public Types

using IdType = std::string
using IdVector = std::vector< IdType >
using IndentVector = std::vector< unsigned int >
using ProbeVector = std::vector< itk::TimeProbe >

Public Member Functions

virtual void Clear (void)
 GlobalTimerProbesCollector ()
virtual void Report (std::ostream &os=std::cout) const
virtual unsigned int Start (const char *name)
virtual void Stop (unsigned int pos)
virtual ~GlobalTimerProbesCollector ()

Protected Attributes

unsigned int m_CurrentIndent
IdVector m_Ids
IndentVector m_Indent
ProbeVector m_Probes

Detailed Description

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.

See also

Definition at line 38 of file rtkGlobalTimerProbesCollector.h.

Member Typedef Documentation

Definition at line 41 of file rtkGlobalTimerProbesCollector.h.

Definition at line 42 of file rtkGlobalTimerProbesCollector.h.

using rtk::GlobalTimerProbesCollector::IndentVector = std::vector< unsigned int >

Definition at line 44 of file rtkGlobalTimerProbesCollector.h.

Definition at line 43 of file rtkGlobalTimerProbesCollector.h.

Constructor & Destructor Documentation

rtk::GlobalTimerProbesCollector::GlobalTimerProbesCollector ( )


virtual rtk::GlobalTimerProbesCollector::~GlobalTimerProbesCollector ( )


Member Function Documentation

virtual void rtk::GlobalTimerProbesCollector::Clear ( void  )

Destroy the set of probes. New probes can be created after invoking this method.

virtual void rtk::GlobalTimerProbesCollector::Report ( std::ostream &  os = std::cout) const

Report the summary of results from the probes

virtual unsigned int rtk::GlobalTimerProbesCollector::Start ( const char *  name)

Start a probe with a particular name. If the time probe does not exist, it will be created

virtual void rtk::GlobalTimerProbesCollector::Stop ( unsigned int  pos)

Stop a time probe identified with a name

Member Data Documentation

unsigned int rtk::GlobalTimerProbesCollector::m_CurrentIndent

Definition at line 70 of file rtkGlobalTimerProbesCollector.h.

IdVector rtk::GlobalTimerProbesCollector::m_Ids

Definition at line 68 of file rtkGlobalTimerProbesCollector.h.

IndentVector rtk::GlobalTimerProbesCollector::m_Indent

Definition at line 69 of file rtkGlobalTimerProbesCollector.h.

ProbeVector rtk::GlobalTimerProbesCollector::m_Probes

Definition at line 67 of file rtkGlobalTimerProbesCollector.h.

The documentation for this class was generated from the following file: