Changeset 45 for devel/units/engine
- Timestamp:
- 12/21/05 18:28:03 (3 years ago)
- Files:
-
- devel/units/engine/function_init.php (modified) (1 prop)
- devel/units/engine/library.php (modified) (1 diff, 1 prop)
- devel/units/engine/main.php (modified) (1 prop)
- devel/units/engine/menu_bottom.php (modified) (1 prop)
- devel/units/engine/menu_main.php (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/units/engine/function_init.php
- Property svn:eol-style set to native
devel/units/engine/library.php
- Property svn:eol-style set to native
r2 r45 57 57 58 58 function timer($finish = false){ 59 static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec;60 if($finish){61 list($end_frac_sec,$end_sec) = explode(" ", microtime());62 echo '<p style="font-size: smaller">This page took about ' .63 round(64 (65 ($end_sec - $start_sec)66 + ($end_frac_sec - $start_frac_sec)67 ),68 4) . " seconds to generate.</p>\n";69 }else{70 list($start_frac_sec,$start_sec) = explode(" ", microtime());71 }59 static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec; 60 if($finish){ 61 list($end_frac_sec,$end_sec) = explode(" ", microtime()); 62 echo '<p style="font-size: smaller">This page took about ' . 63 round( 64 ( 65 ($end_sec - $start_sec) 66 + ($end_frac_sec - $start_frac_sec) 67 ), 68 4) . " seconds to generate.</p>\n"; 69 }else{ 70 list($start_frac_sec,$start_sec) = explode(" ", microtime()); 71 } 72 72 } 73 73 devel/units/engine/main.php
- Property svn:eol-style set to native
devel/units/engine/menu_bottom.php
- Property svn:eol-style set to native
devel/units/engine/menu_main.php
- Property svn:eol-style set to native
