TraceScopeAuto Class Reference

A class which records a timestamp when it is created and a scope event when it is destructed. More...

Public Member Functions

 TraceScopeAuto (const TraceStaticKeyData &key)
 Constructor for TRACE_FUNCTION macro. More...
 
template<typename... Args>
 TraceScopeAuto (const TraceStaticKeyData &key, Args &&... args)
 Constructor that also records scope arguments. More...
 
 ~TraceScopeAuto ()
 Destructor. More...
 

Detailed Description

A class which records a timestamp when it is created and a scope event when it is destructed.

Definition at line 206 of file trace.h.

Constructor & Destructor Documentation

◆ TraceScopeAuto() [1/2]

TraceScopeAuto ( const TraceStaticKeyData key)
inlineexplicit

Constructor for TRACE_FUNCTION macro.

Definition at line 210 of file trace.h.

◆ TraceScopeAuto() [2/2]

TraceScopeAuto ( const TraceStaticKeyData key,
Args &&...  args 
)
inline

Constructor that also records scope arguments.

Definition at line 225 of file trace.h.

◆ ~TraceScopeAuto()

~TraceScopeAuto ( )
inline

Destructor.

Definition at line 234 of file trace.h.


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