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 <[email protected]> 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 : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > -- Mark _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

