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