Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Time keeping
#2
All of these functions ultimately use the CPU clock cycle counter, which increments at about 1-nanosecond intervals. They read the counter, then scale by the CPU clock frequency and rescale to the reporting units. So, yes, you can rescale to milliseconds without losing accuracy.
Reply


Messages In This Thread
Time keeping - khalil-yazji - 03-21-2019, 06:26 AM
RE: Time keeping - curtwilson - 03-22-2019, 09:36 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)