Page Process Time in PHP

//Page process time calculation
/*
The microtime() function fetches the current current Unix timestamp with microseconds

another alternative method is to use the microtime() so that it returns a float value
$time=microtime(1);
this will return the current Unix timestamp like this 1113928831.585405
*/
//record the starting time
$start=microtime();
$start=explode(" ",$start);
$start=$start[1]+$start[0];

sleep(2);//halt the script for 2 seconds
//I put this just to affect the final page process time output...u will have your code here..