DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Private Attributes
dabc::ProfilerGuard Class Reference

#include <dabc/Profiler.h>

Public Member Functions

void Next (const char *name=nullptr, unsigned lvl=0)
 
 ProfilerGuard (Profiler &prof, const char *name=nullptr, unsigned lvl=0)
 
 ~ProfilerGuard ()
 

Private Attributes

unsigned fCnt {0}
 
Profiler::clock_t fLast {0}
 
ProfilerfProfiler
 

Detailed Description

Definition at line 67 of file Profiler.h.

Constructor & Destructor Documentation

◆ ProfilerGuard()

dabc::ProfilerGuard::ProfilerGuard ( Profiler prof,
const char *  name = nullptr,
unsigned  lvl = 0 
)
inline

Definition at line 73 of file Profiler.h.

◆ ~ProfilerGuard()

dabc::ProfilerGuard::~ProfilerGuard ( )
inline

Definition at line 84 of file Profiler.h.

Member Function Documentation

◆ Next()

void dabc::ProfilerGuard::Next ( const char *  name = nullptr,
unsigned  lvl = 0 
)
inline

Definition at line 89 of file Profiler.h.

Field Documentation

◆ fProfiler

Profiler& dabc::ProfilerGuard::fProfiler
private

Definition at line 68 of file Profiler.h.

◆ fCnt

unsigned dabc::ProfilerGuard::fCnt {0}
private

Definition at line 69 of file Profiler.h.

◆ fLast

Profiler::clock_t dabc::ProfilerGuard::fLast {0}
private

Definition at line 70 of file Profiler.h.


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