kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #27091
Re: [PATCH 0/4] Performance counter rework
converting the std::chrono::system_clock::now() to
high_resolution_clock breaks builds on osx, i can't see if there is an
explicit conversion function..... is there any reason we aren't just
using std::chrono::high_resolution_clock::now()? as this builds fine
on osx and i don't really want to have to ifdef it
On Thu, Dec 29, 2016 at 4:05 PM, Simon Richter <Simon.Richter@xxxxxxxxxx> wrote:
> Hi,
>
> this cleans up the performance counters, using only a single interface, and
> switches that implementation to use std::chrono with a high resolution
> timer.
>
> Simon
>
> Simon Richter (4):
> PROF_COUNTER: initialize in initializer list
> Use std::chrono and std::cerr in PROF_COUNTER
> Switch profiled code to uppercase PROF_COUNTER
> Remove old profile counter implementation
>
> common/gal/opengl/cached_container.cpp | 15 +++---
> common/gal/opengl/gpu_manager.cpp | 10 ++--
> common/gal/opengl/opengl_gal.cpp | 10 ++--
> common/view/view.cpp | 5 +-
> include/profile.h | 92 ++++++++--------------------------
> 5 files changed, 38 insertions(+), 94 deletions(-)
>
> --
> 2.11.0
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References