Utility class that is used to hold a function profiler object, register it to profiler and manage the lifetime of it.
More...
#include <kanzi/core/profiling/function_profiler_source.hpp>
Utility class that is used to hold a function profiler object, register it to profiler and manage the lifetime of it.
kanzi::FunctionProfilerInstance::FunctionProfilerInstance |
( |
Profiler & |
profiler, |
|
|
string_view |
name, |
|
|
string_view |
category, |
|
|
size_t |
sampleBufferSize |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
profiler | The profiler instance this function profiler is connected in to. |
name | Name of the function that is being profiled. |
category | Category of the function that is being profiled. |
sampleBufferSize | Size of the sample ring buffer that is used to store more detailed per-invocation data. |
Provides access to the function profiling source that is managed by this object.
The documentation for this class was generated from the following file: