use performance timers for usleep if available
Merge pull request #1502 from ToadKing/usleep

Use perforamnce timers for usleep if available