The resource profiler.
More...
#include <kanzi/core.ui/resource/resource_profiler.hpp>
◆ ContextFactoryContainerKey
The context factory container key.
The key is a thread context of the loading thread for which the factory is created.
◆ ContextFactoryContainer
The context factory container type.
◆ getResourceProfilingContexts()
Gets the container of context factories.
- Returns
- The container of context factories.
◆ getContextFactory()
Gets a context factory.
- Parameters
-
key | The key of the factory to return. |
◆ getMainThreadContextFactory()
Gets the main thread context factory.
- Returns
- The main thread context factory.
◆ createContextFactory()
Creates a context factory.
- Parameters
-
key | The key value for new factory. |
◆ getResourceProfilingDataSampleFactory()
Gets a resource profiling data sample factory.
- Returns
- The resource profiling data sample factory.
◆ createResourceProfilingDataSample()
Creates a resource profiling data sample.
- Parameters
-
acquireContext | The acquire context of the profiled resource. |
url | The URL of the profiled resource. |
- Returns
- The resource profiling data sample.
◆ getResourceProfilingDataSamples()
Gets resource profiling data samples.
- Returns
- The resource profiling data samples container.
◆ createProfiler()
Creates profiler singleton.
- Parameters
-
mainThreadContext | The main thread context. |
◆ resetProfilingData()
void kanzi::ResourceProfiler::resetProfilingData |
( |
| ) |
|
The documentation for this class was generated from the following file: