/
Performance
Performance
GUI
CLI
Interim implementation of Performance logging
This is largely undefined and still up to change.
FreePBX::Performance()->On();
FreePBX::Performance()->Stamp('Stamp this!'); |
On()
/**
* Turn Performance Logging on
*/
public function On() |
Off()
/**
* Turn Performance Logging off
*/
public function Off() |
Stamp()
/**
* Generate a stamp to the output
*
* Prints out microtime and memory usage from PHP
*
* @param {string} $str The stamp send out
* @example "PERF/$str/".microtime()."/".memory_get_usage()."\n"
*/
public function Stamp($str) |