Use the resource profiling subsystem to measure during runtime how long it takes to load and deploy resources. More...
Classes | |
class | kanzi::GenericResourceProfilingContext |
Generic resource profiling context. More... | |
class | kanzi::NamedResourceProfilingContext |
Named resource profiling context. More... | |
class | kanzi::ResourceProfiler |
The resource profiler. More... | |
class | kanzi::ResourceProfilingAcquireContext |
The profiling context of resource acquirement. More... | |
class | kanzi::ResourceProfilingAttributes |
Container for resource profiling attributes. More... | |
class | kanzi::ResourceProfilingContext |
The resource profiling context. More... | |
class | kanzi::ResourceProfilingContextFactory |
Resource profiling context factory. More... | |
class | kanzi::ResourceProfilingDataSample |
The resource profiling data sample. More... | |
class | kanzi::ResourceProfilingDeployContext |
The profiling context of resource deployment. More... | |
class | kanzi::ResourceProfilingLoadContext |
The profiling context of resource loading. More... | |
class | kanzi::ResourceProfilingLoadTask |
Resource profiling wrapper for load task. More... | |
class | kanzi::ResourceProfilingMainLoopContext |
The main loop resource profiling context. More... | |
struct | kanzi::ResourceProfilingPtreePopulator |
Resource profiling ptree populator. More... | |
Macros | |
#define | KZ_PROFILING_DEFAULT_RESOURCE_LOADING_CATEGORY_STATE |
#define | KZ_PROFILING_RESOURCE_LOADING_CATEGORY |
Kanzi uses this category to profile resource loading. More... | |
#define | kzResourceProfilingContextSampler(className, localVariable, constructorArguments) |
Creates a new resource profiling context sampler. More... | |
Use the resource profiling subsystem to measure during runtime how long it takes to load and deploy resources.
Resource profiling is available only in the Kanzi profiling build.
#define KZ_PROFILING_DEFAULT_RESOURCE_LOADING_CATEGORY_STATE |
#define KZ_PROFILING_RESOURCE_LOADING_CATEGORY |
Kanzi uses this category to profile resource loading.
The compile-time state of this category is defined by KZ_PROFILING_DEFAULT_RESOURCE_LOADING_CATEGORY_STATE.
#define kzResourceProfilingContextSampler | ( | className, | |
localVariable, | |||
constructorArguments | |||
) |
Creates a new resource profiling context sampler.
Call this macro in the scope in which you want to create a new resource profiling context sampler. This macro produces no code if KZ_PROFILING_RESOURCE_LOADING_CATEGORY profiling category is disabled at compile-time.
className | The class name of the context sampler. |
localVariable | The name of the local variable which holds the object of the sampler class. |
constructorArguments | The arguments which you must pass to the constructor of the sampler. Enclose the arguments in parentheses. |
To create resource profiling samplers.