View Single Post
  #1 (permalink)  
Old 08-10-2006, 08:08 PM
Jordan's Avatar   
Jordan Jordan is online now
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 7,493
Last Blog:
Tramp Variables
Credits: 1
Rep Power: 20
Jordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud of
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default PHP: Execution Time Function

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";
Attached Files To view attachments in this forum your post count must be 1 or greater. You currently have 0 posts.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
Don't hesitate to ask any questions that you have! Check out our ASCII Calculator!
Reply With Quote

Sponsored Links