You could also use the high resolution timers which start when the program is launched, not when the computer is rebooted. I wrote a module for Windows a while ago.
http://www.blitzbasic.com/codearcs/codearcs.php?code=2059
http://www.blitzbasic.com/codearcs/codearcs.php?code=2059