kanzi::DefaultProfilerRegistry Class Reference

The default profiler registry placeholder. More...

#include <kanzi/core/profiling/default_profiler_registry.hpp>

Public Member Functions

void setProfilerRegistry (AbstractProfilerRegistry *registry)
 Sets the default profiler registry to custom profiler registry. More...
 
void resetToDefaultProfiler ()
 Resets the default profiler registry to the original value. More...
 
AbstractProfilerRegistrygetProfilerRegistry ()
 Gets the default profiler registry instance. More...
 

Static Public Member Functions

static DefaultProfilerRegistryget ()
 Gets the reference to singleton instance of DefaultProfilerRegistry. More...
 

Detailed Description

The default profiler registry placeholder.

Use DefaultProfilerRegistry to access the default profiler registry instance.

Member Function Documentation

void kanzi::DefaultProfilerRegistry::setProfilerRegistry ( AbstractProfilerRegistry registry)
inline

Sets the default profiler registry to custom profiler registry.

Parameters
profilerNew defaut profiler.
void kanzi::DefaultProfilerRegistry::resetToDefaultProfiler ( )
inline

Resets the default profiler registry to the original value.

AbstractProfilerRegistry& kanzi::DefaultProfilerRegistry::getProfilerRegistry ( )
inline

Gets the default profiler registry instance.

Returns
The default profiler registry instance.
static DefaultProfilerRegistry& kanzi::DefaultProfilerRegistry::get ( )
static

Gets the reference to singleton instance of DefaultProfilerRegistry.

Returns
The reference to singleton instance of DefaultProfilerRegistry.

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