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

Traces the GPU start and end times of the GL commands submitted in the same scope. More...

#include "gpuprofiler.h"

Public Member Functions

 ScopedGlTracer (GpuProfiler *profiler, int id)
 
 ~ScopedGlTracer ()
 

Detailed Description

Traces the GPU start and end times of the GL commands submitted in the same scope.

Typically used via the ION_PROFILE_GPU macro.

Definition at line 161 of file gpuprofiler.h.

Constructor & Destructor Documentation

ion::gfxprofile::ScopedGlTracer::ScopedGlTracer ( GpuProfiler profiler,
int  id 
)
inline

Definition at line 163 of file gpuprofiler.h.

References ion::gfxprofile::GpuProfiler::EnterGlScope().

ion::gfxprofile::ScopedGlTracer::~ScopedGlTracer ( )
inline

Definition at line 167 of file gpuprofiler.h.

References ion::gfxprofile::GpuProfiler::LeaveGlScope().


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