Kanzi 3.9.12
kanzi::DefaultProfilerRegistry Class Reference

The default profiler registry placeholder. More...

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

Public Member Functions

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

Static Public Member Functions

static DefaultProfilerRegistry & get ()
 Gets the reference to singleton instance of DefaultProfilerRegistry.
 

Detailed Description

The default profiler registry placeholder.

Use DefaultProfilerRegistry to access the default profiler registry instance.

Member Function Documentation

◆ setProfilerRegistry()

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

Sets the default profiler registry to custom profiler registry.

Parameters
registryThe custom profiler registry.

◆ resetToDefaultProfiler()

void kanzi::DefaultProfilerRegistry::resetToDefaultProfiler ( )
inline

Resets the default profiler registry to the original value.

◆ getProfilerRegistry()

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

Gets the default profiler registry instance.

Returns
The default profiler registry instance.

◆ get()

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: