Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::profile::ScopedTracer Class Reference

Class to automatically record scope start and end events using the given TraceRecorder. More...

#include "calltracemanager.h"

Public Member Functions

 ScopedTracer (TraceRecorder *recorder, int id)
 
 ~ScopedTracer ()
 

Detailed Description

Class to automatically record scope start and end events using the given TraceRecorder.

Definition at line 227 of file calltracemanager.h.

Constructor & Destructor Documentation

ion::profile::ScopedTracer::ScopedTracer ( TraceRecorder recorder,
int  id 
)

Definition at line 216 of file calltracemanager.cc.

References DCHECK, and ion::profile::TraceRecorder::EnterScope().

ion::profile::ScopedTracer::~ScopedTracer ( )

Definition at line 222 of file calltracemanager.cc.

References DCHECK, and ion::profile::TraceRecorder::LeaveScope().


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