Moreover: Even if the CPU's hardware tick counter is used, in a multi-CPU system, each CPU might have it's own counter and those are not guaranteed to be in sync. as the OS might move the program from one CPU to the other, this method does not seem to be safe, either. -Michael