QueryPerformanceCounter -- Timming code


  • Hello --

    I am calling the win/sdk function QueryPerformanceCounter to do timing -- how is
    it in some cases that over 2 calls over time that the call in the future has a
    lesser value than the one in the past so

    start = QueryPerformanceCounter

    :::  wait some time

    finish = QueryPerformanceCounter

    then the value of

    finish - start

    is less than zero -- is this possible?

    Wednesday, January 09, 2013 7:31 AM

All replies