Added a profiler, which outputs time taken and calls to various functions.
authorDavid Gow <[email protected]>
Tue, 14 Oct 2014 06:48:02 +0000 (14:48 +0800)
committerDavid Gow <[email protected]>
Tue, 14 Oct 2014 06:48:02 +0000 (14:48 +0800)
commita8297c3461718f2d9afc7a2f8ca620d320ac5f97
treef5552da6233c7ae43a5126f61afe426b18d72d15
parent667281b828c8515e995c0000706157cee180fa08
Added a profiler, which outputs time taken and calls to various functions.

Disable by defining PROFILER_SILENT

You can add a zone with PROFILE_SCOPE(name); (which will profile
until the scope is exited) or with g_profiler.BeginZone(name); and g_profiler.EndZone();
src/Makefile
src/document.cpp
src/main.h
src/profiler.cpp [new file with mode: 0644]
src/profiler.h [new file with mode: 0644]
src/view.cpp

UCC git Repository :: git.ucc.asn.au