- usleep: documentation ( source)
- microtime: documentation ( source)
- round: documentation ( source)
- define: documentation ( source)
- printf: documentation ( source)
<?php
define("START", microtime(true));
//sleep for 269 milliseconds
usleep(269000);
printf("Page was rendered in %s milliseconds", round((microtime(true) - START) * 1000));