This php file has two functions to determine start time and finish time. Then displays total execution time in seconds.
Code:
Usage:
include execution_time.php
In header of your php script place
$startTime = slog_time();
In footer of your php script place
$totalTime = elog_time($startTime);
print "Execution Time: $totalTime Seconds";