]> git.lyx.org Git - features.git/commit
A poor man's profiler.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 21 Mar 2013 11:14:21 +0000 (12:14 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 22 Mar 2013 09:30:48 +0000 (10:30 +0100)
commit4663618cfd774f974bbbb8f0859970907300c0b8
tree9c37a014ab62e78173b439f2b8dfff37060aefae
parent9aeb084a22d40a259cf16a54bcd40eb90484f37b
A poor man's profiler.

The use of this profiler is trivial:

 * #include <support/pmprof.h>

 * in the block one wants to profile, add
   PROFILE_THIS_BLOCK(some_identifier)

 * At the end of the execution, statistics will be sent to standard error.
src/support/Makefile.am
src/support/pmprof.h [new file with mode: 0644]