I was wondering if anyone had any high resolution clock resources laying around? API explenation and maybe some tutorial.
Thanks.
Printable View
I was wondering if anyone had any high resolution clock resources laying around? API explenation and maybe some tutorial.
Thanks.
man gettimeofday
Has a quite high resolution. Still not high enough for a MIDI timer, probably - look into ALSA for that.
HPET is the best you can get in terms of resolution, but your mainboard has to have the chip (newer ones does in most cases)
http://en.wikipedia.org/wiki/High_Precision_Event_Timer