From e3c30f74b3b094a596aacb2eadd0278e1473616c Mon Sep 17 00:00:00 2001 From: Woody Gilk Date: Fri, 25 Sep 2009 11:32:24 -0500 Subject: [PATCH] Added KOHANA_START_MEMORY, the memory usage just before the application is initialized. Fixes #2137 --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index 9af89e2..bb4343a 100644 --- a/index.php +++ b/index.php @@ -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;