public function enable($start_time = null, $memory_usage = null) {
        $this->enabled = true;
        $this->start_time = $start_time ? : ($_SERVER["REQUEST_TIME_FLOAT"] * 1000);
        $this->start_memory_usage = $memory_usage ? : memory_get_usage();

        $this->log("Profiling enabled");
    }
public function enable($start_time = null, $memory_usage = null) {
        $this->enabled = true;
        $this->start_time = $start_time ? : ($_SERVER["REQUEST_TIME_FLOAT"] * 1000);
        $this->start_memory_usage = $memory_usage ? : memory_get_usage();

        $this->log("Profiling enabled");
    }
public function enable ( $ start_time = null , $ memory_usage = null ) { $ this -> enabled = true ; $ this -> start_time = $ start_time ? : ( $ _SERVER [ "REQUEST_TIME_FLOAT" ] * 1000 ) ; $ this -> start_memory_usage = $ memory_usage ? : memory_get_usage ( ) ; $ this -> log ( "Profiling enabled" ) ; }
Enables the logger and sets the start time and memory usage

@param null|float $start_time   A microtime(true) may be provided to give true startup time of the application, else $_SERVER["REQUEST_TIME_FLOAT"] is used
@param null|float $memory_usage A memory_get_usage() may be provided to give true startup memory usage of the application, else current is used
Enables the logger and sets the start time and memory usage