Adding a constant for TIME_START as $_SERVER[REQUEST_TIME] is only

accurate to the second.  Profilers and timers need ms resolution
to be accurate.
This commit is contained in:
Mark Story 2011-08-21 08:55:19 -04:00 committed by mark_story
parent 34d3d6fe9e
commit 8503ffd39b

View file

@ -18,6 +18,8 @@
* @since CakePHP(tm) v 0.2.9
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
define('TIME_START', microtime(true));
if (!defined('E_DEPRECATED')) {
define('E_DEPRECATED', 8192);
}