]> git.lyx.org Git - features.git/commit
Update poor man's profiler to use C++11 std::chrono
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 17 Mar 2019 12:57:44 +0000 (13:57 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 17 Mar 2019 13:01:02 +0000 (14:01 +0100)
commitbdf3924fc78d0495b241e2202a9633cded6aca45
treeb5dc9fdecfe834147d11f6d0242d06e347eb7ff0
parentbf4394e2823df083fa45c9a8902f6f6d46375585
Update poor man's profiler to use C++11 std::chrono

This is more portable, and the old code prevented in windows to use
instrument several classes at the same time (several .obj files,
actually).

No new feature here, bu the code is nicely slower. It might be less
efficient, I am not really at ease with how std::chrono works.
src/support/pmprof.h