DragonDaddyBear wrote:Chuck and JBI, thank you for the explanation. If you don't mind me asking, what kinds of applications would such a counter be needed for? Could you not run into race conditions if incorrectly used this? Sorry for the probably silly question, not a programmer.
High resolution timers are often used to accurately measure elapsed time between two events, for benchmarking and to help with code optimization. You also need high resolution timers for anything that needs to generate precisely timed events, like DAW applications (software based MIDI sequencing).