For the precision of sleep, http://php.net/manual/en/function.time-nanosleep.php might be more appropriate
Also, you would only need to slightly clamp very important functions, so DoS attacks aren't that likely on it (and a constant timed function would also take the same time).