greetings, I have a question for those linux programmers out there. i'm writing a program on linux (kubuntu to be specific) that requires high-precision timing, somewhere on the order of 100 to 1000 micro seconds. I get very good timing out of a loop written such that a while() loop checks the system clock after every iteration and comparing that to the desired wait time, like so (pseudo_code): while(time_passed < wait_time) { time_passed = get_time() } ... The problem with this approach is that the process uses 99% of the CPU since it just spins the CPU until enough time has expired. My question: is there a way on linux (in C) to have the CPU sleep or send it a no-op such that it's not just eating up cycles until time expires? I have looked at nanosleep and usleep, however they appear to only have precision to 10ms which too latent for my needs. Thanks, --Brad