CCPUTicker

An ultra high precision MFC timing class for Pentium or greater CPU's
Download

CCPUTicker Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Naughter Software
  • Operating Systems:
  • Windows All
  • File Size:
  • 36 KB

CCPUTicker Tags


CCPUTicker Description

The CCPUTicker class will implement an MFC wrapper class for the Pentium-specific time stamp counter which can be accessed using the "RDTSC" assembly language instruction. This counter has a resolution in terms of PCLKS (processor clocks) so if you have a 200 MHz CPU then this class will give a frequency of 2000 MHz. The value returned is a 64 bit integer so assuming your CPU runs at 2000 MHZ, the value will take roughly 300 years to roll over. As the value also starts counting from 0, the value returned is the number of CPU ticks since the computer was turned on i.e. the "UP" time. Because the timer is part of the CPU hardware, it is unaffected by processor activity and workload.


CCPUTicker Related Software