Added KOHANA_START_MEMORY, the memory usage just before the application is initialized. Fixes #2137

This commit is contained in:
Woody Gilk 2009-09-25 11:32:24 -05:00
parent 3118bdc94b
commit e3c30f74b3

View file

@ -82,6 +82,9 @@ if (file_exists('install'.EXT))
// Define the start time of the application
define('KOHANA_START_TIME', microtime(TRUE));
// Define the memory usage at the start of the application
define('KOHANA_START_MEMORY', memory_get_usage());
// Load the base, low-level functions
require SYSPATH.'base'.EXT;