![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
| __construct ($prefix='') | |
| mark ($label) | |
| getMemory () | |
| getMarks () | |
| getBuffer () | |
| setStart ($startTime=0.0, $startMem=0) | |
Fonctions membres publiques statiques | |
| static | getInstance ($prefix='') |
| static | getmicrotime () |
Attributs protégés | |
| $start = 0 | |
| $prefix = '' | |
| $buffer = null | |
| $marks = null | |
| $previousTime = 0.0 | |
| $previousMem = 0.0 | |
Attributs protégés statiques | |
| static | $instances = array() |
Utility class to assist in the process of benchmarking the execution of sections of code to understand where time is being spent.
| __construct | ( | $prefix = '' | ) |
| getBuffer | ( | ) |
Get all profiler mark buffers.
Returns an array of all mark buffers created since the Profiler object was instantiated. Marks are strings as per Profiler::mark().
Références $buffer.
|
static |
| getMarks | ( | ) |
Get all profiler marks.
Returns an array of all marks created since the Profiler object was instantiated. Marks are objects as per JProfiler::mark().
| getMemory | ( | ) |
|
static |
Get the current time.
| mark | ( | $label | ) |
| setStart | ( | $startTime = 0.0, |
|
$startMem = 0 |
|||
| ) |
Sets the start time.
| double | $startTime | Unix timestamp in microseconds for setting the Profiler start time. |
| int | $startMem | Memory amount in bytes for setting the Profiler start memory. |
Références $startMem, et $startTime.
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |