ML Reference
ml::internal::ProfilingScope Class Reference

Helper class that stops measuring when it gets out of scope. More...

#include <mlModuleProfiling.h>

Public Member Functions

 ProfilingScope ()
 
 ~ProfilingScope ()
 
void startMeasuring (MLMetaProfile *profile, const std::string &function, int userId, void *userData)
 

Detailed Description

Helper class that stops measuring when it gets out of scope.

Definition at line 23 of file mlModuleProfiling.h.

Constructor & Destructor Documentation

◆ ProfilingScope()

ml::internal::ProfilingScope::ProfilingScope ( )
inline

Definition at line 26 of file mlModuleProfiling.h.

◆ ~ProfilingScope()

ml::internal::ProfilingScope::~ProfilingScope ( )
inline

Definition at line 27 of file mlModuleProfiling.h.

Member Function Documentation

◆ startMeasuring()

void ml::internal::ProfilingScope::startMeasuring ( MLMetaProfile * profile,
const std::string & function,
int userId,
void * userData )
inline

Definition at line 33 of file mlModuleProfiling.h.


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