Kanzi  3.9.4
Kanzi Engine API
kanzi::StartupProfilerRegistry Class Reference

The registry of startup profilers. More...

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

Inheritance diagram for kanzi::StartupProfilerRegistry:
[legend]

Public Member Functions

 StartupProfilerRegistry ()
 Constructor. More...
 
- Public Member Functions inherited from kanzi::ProfilerRegistry< IntervalProfiler >
ProfilerContainer::const_iterator beginProfilers () const
 Gets iterator to the begging of the profiler container. More...
 
ProfilerContainer::const_iterator endProfilers () const
 Gets iterator to the end of the profiler container. More...
 
void registerProfiler (ProfilerSharedPtr profiler)
 Adds a new profiler to the registry. More...
 
void unregisterProfiler (ProfilerSharedPtr profiler)
 Removes a profiler from the registry. More...
 

Public Attributes

IntervalProfilerSharedPtr m_attachPrefabProfiler
 Prefabs attachment profiler. More...
 
IntervalProfilerSharedPtr m_initializationProfiler
 Application initialization profiler. More...
 
IntervalProfilerSharedPtr m_initializeDomainProfiler
 Domain initialization profiler. More...
 
IntervalProfilerSharedPtr m_initializeGLProfiler
 Startup GL initialization profiler. More...
 
IntervalProfilerSharedPtr m_initializeGraphicsProfiler
 Graphics initialization profiler. More...
 
IntervalProfilerSharedPtr m_initializeLoadingThreadsProfiler
 Loading threads initialization profiler. More...
 
IntervalProfilerSharedPtr m_instantiatePrefabProfiler
 Prefabs instantiation profiler. More...
 
IntervalProfilerSharedPtr m_loadPluginsProfiler
 Plugins loading profiler. More...
 
IntervalProfilerSharedPtr m_loadPrefabProfiler
 Prefabs loading profiler. More...
 
IntervalProfilerSharedPtr m_onProjectLoadedProfiler
 OnProjectLoaded profiler. More...
 
IntervalProfilerSharedPtr m_openKzbProfiler
 Startup kzb file opening profiler. More...
 
IntervalProfilerSharedPtr m_registerDefaultResourcesProfiler
 Default resource registration profiler. More...
 
IntervalProfilerSharedPtr m_registerMetadataProfiler
 Metadata registration profiler. More...
 
IntervalProfilerSharedPtr m_registerRuntimeAssetsProfiler
 Runtime assets registration profiler. More...
 
IntervalProfilerSharedPtr m_resetRendererProfiler
 Renderer reset profiler. More...
 
IntervalProfilerSharedPtr m_resumeGLProfiler
 ResumeGL profiler. More...
 

Additional Inherited Members

- Public Types inherited from kanzi::ProfilerRegistry< IntervalProfiler >
typedef unordered_set< ProfilerSharedPtrProfilerContainer
 The profiler container type. More...
 
typedef shared_ptr< IntervalProfilerProfilerSharedPtr
 The profiler shared point type. More...
 
- Protected Attributes inherited from kanzi::ProfilerRegistry< IntervalProfiler >
ProfilerContainer m_registeredProfilers
 The registered profilers. More...
 

Detailed Description

The registry of startup profilers.

Profilers in this class are available only in the Kanzi profiling build.

Constructor & Destructor Documentation

◆ StartupProfilerRegistry()

kanzi::StartupProfilerRegistry::StartupProfilerRegistry ( )
explicit

Constructor.

Member Data Documentation

◆ m_loadPluginsProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_loadPluginsProfiler

Plugins loading profiler.

On startup, measures the time used to load Kanzi Engine plugins.

◆ m_registerMetadataProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_registerMetadataProfiler

Metadata registration profiler.

On startup, the profiler measures the time used to register metadata.

◆ m_initializationProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializationProfiler

Application initialization profiler.

On startup, the profiler measures the time used to initialize an application.

See also
Application::initialize().

◆ m_initializeGraphicsProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeGraphicsProfiler

Graphics initialization profiler.

On startup, the profiler measures the time used to initialize the graphics stack.

See also
GLGraphicsOutput.

◆ m_initializeGLProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeGLProfiler

Startup GL initialization profiler.

On startup, the profiler measures the time used to initialize the graphics library.

◆ m_registerDefaultResourcesProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_registerDefaultResourcesProfiler

Default resource registration profiler.

On startup, the profiler measures the time used to register the resource IDs for the Kanzi default resources, such as BackgroundBrush, NullBrush, WhiteBrush, BlackBrush, and so on. This profiler measures only the amount of time it takes to register these resources, not the amount of time it takes to load these resources.

See also
registerDefaultResources().

◆ m_loadPrefabProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_loadPrefabProfiler

Prefabs loading profiler.

On startup, the profiler measures the time used to load prefabs.

See also
PrefabTemplate.

◆ m_instantiatePrefabProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_instantiatePrefabProfiler

Prefabs instantiation profiler.

On startup, the profiler measures the time used to instantiate prefabs.

See also
PrefabTemplate.

◆ m_attachPrefabProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_attachPrefabProfiler

Prefabs attachment profiler.

On startup, the profiler measures the time used to attach prefabs to nodes.

See also
PrefabTemplate.

◆ m_resetRendererProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_resetRendererProfiler

Renderer reset profiler.

On startup, the profiler measures the time used by the Renderer3D::reset() function, which invalidates all the internal caches of the renderer for the GPU state.

◆ m_initializeLoadingThreadsProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeLoadingThreadsProfiler

Loading threads initialization profiler.

On startup, the profiler measures the time used to initialize loading threads.

◆ m_registerRuntimeAssetsProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_registerRuntimeAssetsProfiler

Runtime assets registration profiler.

On startup, the profiler measures the time used to open the kzb file with the Kanzi runtime assets, which contains assets, such as the default shaders and materials for the default shaders. Kanzi runtime assets are embedded in the application executable. This profiler does not include the amount of time it takes to load these resources. Kanzi loads resources only when your application needs them.

See also
registerRuntimeAssets().

◆ m_openKzbProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_openKzbProfiler

Startup kzb file opening profiler.

On startup, the profiler measures the time used to open the startup kzb file.

◆ m_initializeDomainProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeDomainProfiler

Domain initialization profiler.

On startup, the profiler measures the time used to initialize the Domain.

◆ m_onProjectLoadedProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_onProjectLoadedProfiler

OnProjectLoaded profiler.

On startup, the profiler measures the time used by the Application::onProjectLoaded function, which initializes an application after a project has been loaded.

◆ m_resumeGLProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_resumeGLProfiler

ResumeGL profiler.

On startup, the profiler measures the time used by the Application::resumeGL function, which resumes the graphics language subsystem.


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