Changeset 15990 for branches/dev/html


Ignore:
Timestamp:
2007/09/24 12:58:05 (19 years ago)
Author:
kakinaka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/products/list.php

    r13580 r15990  
    55 * http://www.lockon.co.jp/ 
    66 */ 
    7  
     7$start_time = sfGetMicrotime_float(); 
    88require_once("../require.php"); 
    99require_once(DATA_PATH . "include/page_layout.inc"); 
     
    143143sfCustomDisplay($objPage); 
    144144 
     145sfprintr( 'Script Execution Time: ' . round($end_time - $start_time, 5) . ' seconds');  
    145146//----------------------------------------------------------------------------------------------------------------------------------- 
     147// Function to calculate script execution time.   
     148function sfGetMicrotime_float () {  
     149    list ($msec, $sec) = explode(' ', microtime());  
     150    $microtime = (float)$msec + (float)$sec;  
     151    return $microtime;  
     152}  
     153 
    146154/* ¥«¥Æ¥´¥êID¤¬¥ë¡¼¥È¤«¤É¤¦¤«¤ÎȽÄê */ 
    147155function lfIsRootCategory($category_id) { 
Note: See TracChangeset for help on using the changeset viewer.