kanzi::FunctionSampleData Struct Reference

Sample data for function, to access more detailed per-invocation data. More...

#include <kanzi/core/profiling/function_profiler_source.hpp>

Public Member Functions

 FunctionSampleData (KZ_RV_REF(FunctionSampleData) other)
 Move constructor. More...
 
 FunctionSampleData (FixedString description)
 Constructor. More...
 
 FunctionSampleData (string_view description)
 
 ~FunctionSampleData ()
 
FunctionSampleDataoperator= (KZ_RV_REF(FunctionSampleData) other)
 Move operator. More...
 
string_view getDescription () const
 

Public Attributes

chrono::high_resolution_clock::time_point enterTime
 Point in time when the function execution was started. More...
 
chrono::high_resolution_clock::time_point exitTime
 Point in time when the function execution was started. More...
 

Detailed Description

Sample data for function, to access more detailed per-invocation data.

Constructor & Destructor Documentation

kanzi::FunctionSampleData::FunctionSampleData ( KZ_RV_REF(FunctionSampleData other)
inline

Move constructor.

Parameters
otherSource string.
kanzi::FunctionSampleData::FunctionSampleData ( FixedString  description)
inlineexplicit

Constructor.

kanzi::FunctionSampleData::FunctionSampleData ( string_view  description)
inlineexplicit
kanzi::FunctionSampleData::~FunctionSampleData ( )
inline

Member Function Documentation

FunctionSampleData& kanzi::FunctionSampleData::operator= ( KZ_RV_REF(FunctionSampleData other)
inline

Move operator.

Parameters
otherSource.
Returns
This.
string_view kanzi::FunctionSampleData::getDescription ( ) const
inline

Member Data Documentation

chrono::high_resolution_clock::time_point kanzi::FunctionSampleData::enterTime

Point in time when the function execution was started.

chrono::high_resolution_clock::time_point kanzi::FunctionSampleData::exitTime

Point in time when the function execution was started.


The documentation for this struct was generated from the following file: