This instance will call Profiler::begin() when constructed and Profiler::end() when it goes out of scope. More...
#include <Profiler.h>
Public Member Functions | |
ScopedBlock (const std::string &name, Profiler &prof=Profiler::Instance()) | |
Start counting time for the block named name of the profiler prof. | |
This instance will call Profiler::begin() when constructed and Profiler::end() when it goes out of scope.
Definition at line 82 of file Profiler.h.