#include <rtkGlobalTimer.h>
Definition at line 37 of file rtkGlobalTimer.h.
rtk::GlobalTimer::GlobalTimer |
( |
| ) |
|
|
protected |
virtual rtk::GlobalTimer::~GlobalTimer |
( |
| ) |
|
|
protectedvirtual |
rtk::GlobalTimer::GlobalTimer |
( |
const Self & |
| ) |
|
|
private |
virtual void rtk::GlobalTimer::Clear |
( |
void |
| ) |
|
|
virtual |
Destroy the set of probes. New probes can be created after invoking this method.
static Pointer rtk::GlobalTimer::GetInstance |
( |
| ) |
|
|
static |
virtual const char* rtk::GlobalTimer::GetNameOfClass |
( |
| ) |
const |
|
virtual |
Run-time type information (and related methods).
virtual bool rtk::GlobalTimer::GetVerbose |
( |
| ) |
|
|
virtual |
static Pointer rtk::GlobalTimer::New |
( |
| ) |
|
|
static |
This is a singleton pattern New. There will only be ONE reference to a GlobalTimer object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
void rtk::GlobalTimer::operator= |
( |
const Self & |
| ) |
|
|
private |
virtual void rtk::GlobalTimer::PrintSelf |
( |
std::ostream & |
os, |
|
|
Indent |
indent |
|
) |
| const |
|
overrideprotectedvirtual |
virtual void rtk::GlobalTimer::Report |
( |
std::ostream & |
os = std::cout | ) |
const |
|
virtual |
Report the summary of results from the probes
virtual void rtk::GlobalTimer::SetVerbose |
( |
bool |
_arg | ) |
|
|
virtual |
Set / Get macro for verbosity
virtual void rtk::GlobalTimer::Start |
( |
const char * |
name | ) |
|
|
virtual |
Start a probe with a particular name. If the time probe does not exist, it will be created
virtual void rtk::GlobalTimer::Stop |
( |
const char * |
name | ) |
|
|
virtual |
Stop a time probe identified with a name
Create a new watcher and store it
Pointer rtk::GlobalTimer::m_Instance |
|
staticprivate |
std::mutex rtk::GlobalTimer::m_Mutex |
|
private |
bool rtk::GlobalTimer::m_Verbose |
|
protected |
The documentation for this class was generated from the following file: