Kanzi  3.9.4
Kanzi Engine API
kanzi::DefaultProfilerRegistry Class Reference

The default profiler registry placeholder. More...

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

Public Member Functions

AbstractProfilerRegistrygetProfilerRegistry ()
 Gets the default profiler registry instance. More...
 
void resetToDefaultProfiler ()
 Resets the default profiler registry to the original value. More...
 
void setProfilerRegistry (AbstractProfilerRegistry *registry)
 Sets the default profiler registry to custom profiler registry. 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

◆ 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: