From: David Gow Date: Tue, 14 Oct 2014 06:48:02 +0000 (+0800) Subject: Added a profiler, which outputs time taken and calls to various functions. X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;ds=sidebyside;h=a8297c3461718f2d9afc7a2f8ca620d320ac5f97;hp=a8297c3461718f2d9afc7a2f8ca620d320ac5f97;p=ipdf%2Fcode.git 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(); ---