Changeset 21583 for branches/version-2_12-dev/data/class/SC_View.php
- Timestamp:
- 2012/03/04 04:46:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_View.php
r21573 r21583 61 61 62 62 if (ADMIN_MODE == '1') { 63 $this->time_start = SC_Utils_Ex::sfMicrotimeFloat();63 $this->time_start = microtime(true); 64 64 } 65 65 } … … 95 95 $res = $this->_smarty->fetch($template); 96 96 if (ADMIN_MODE == '1') { 97 $time_end = SC_Utils_Ex::sfMicrotimeFloat();97 $time_end = microtime(true); 98 98 $time = $time_end - $this->time_start; 99 99 $res .= '処理時間: ' . sprintf('%.3f', $time) . '秒'; … … 159 159 $this->_smarty->display($template); 160 160 if (ADMIN_MODE == '1') { 161 $time_end = SC_Utils_Ex::sfMicrotimeFloat();161 $time_end = microtime(true); 162 162 $time = $time_end - $this->time_start; 163 163 echo '処理時間: ' . sprintf('%.3f', $time) . '秒';
Note: See TracChangeset
for help on using the changeset viewer.