Sleep in windows will "delay" your program for X milliseconds - as long as your system clock is working correct, it will be precise, no matter what speed your system is (within a few milliseconds assuming no other application loading the system - if your system is heavily loaded, no delay operation is guaranteed anyways). The same applies to the corresponding functions in Linux.
--
Mats

