The context sampler. More...
#include <kanzi/core.ui/resource/named_resource_profiling_context.hpp>
Public Member Functions | |
Sampler (ResourceProfilingContextFactory &factory, string_view name) | |
Constructor. More... | |
Public Member Functions inherited from kanzi::ResourceProfilingContextFactory::AbstractSampler | |
AbstractSampler (ResourceProfilingContextFactory &factory) | |
The constructor. More... | |
virtual | ~AbstractSampler () |
Destructor. More... | |
ResourceProfilingContextSharedPtr | getContext () |
Gets the resource profiling context created by this sampler. More... | |
Protected Member Functions | |
virtual ResourceProfilingContextSharedPtr | createContextOverride (TimeStamp entryTimeStamp) KZ_OVERRIDE |
Creates a new resource profiling context. More... | |
The context sampler.
|
explicit |
Constructor.
factory | The sampler factory. |
name | The name of the context. |
|
protectedvirtual |
Creates a new resource profiling context.
entryTimeStamp | The timestamp evaluated at entry to the scope of the resource profiling context. |
Implements kanzi::ResourceProfilingContextFactory::AbstractSampler.