]> 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>
Thu, 18 Jun 2020 13:48:17 +0000 (15:48 +0200)
commit9a1d50a6319e975e15d10943a309cab568b63520
tree85e6b24facb12d9cad2b61319d82b81b2d7830f9
parent0ac91ccaf9a67ff7920f0d4ea27c9e33e782525c
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