access the start time too...
This commit is contained in:
parent
f3c0c0e637
commit
565b15c91e
@ -828,7 +828,7 @@ function send_event(Event $event) {
|
|||||||
// What the fuck were the PHP developers smoking.
|
// What the fuck were the PHP developers smoking.
|
||||||
$_load_start = microtime(true);
|
$_load_start = microtime(true);
|
||||||
function get_debug_info() {
|
function get_debug_info() {
|
||||||
global $config, $_event_count, $database, $_execs;
|
global $config, $_event_count, $database, $_execs, $_load_start;
|
||||||
|
|
||||||
if(function_exists('memory_get_usage')) {
|
if(function_exists('memory_get_usage')) {
|
||||||
$i_mem = sprintf("%5.2f", ((memory_get_usage()+512)/1024)/1024);
|
$i_mem = sprintf("%5.2f", ((memory_get_usage()+512)/1024)/1024);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user