← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH 08/12] windows: provide performance measurement primitives

 

Yea QueryPerformanceCounter is the correct Windows way to do things.

Though I wonder why wxStopWatch isn't used for profiling since
everything is wxWidgets based anyway......wxStopWatch uses
QueryPerformanceCounter on windows too.

On Fri, May 27, 2016 at 10:32 AM, Simon Richter
<Simon.Richter@xxxxxxxxxx> wrote:
>
> On Windows, performance measurement is best performed using
> QueryPerformanceCounter, which reports ticks with an arbitrary but fixed
> frequency.
> ---
>  include/profile.h | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
>
>
> _______________________________________________
> 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
>



-- 
Mark


Follow ups

References