Kanzi  3.9.7
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

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

Sets the default profiler registry to custom profiler registry.

Parameters
registryThe custom profiler registry.
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: