Class JProfiler
Utility class to assist in the process of benchmarking the execution of sections of code to understand where time is being spent.
Package: Joomla\Platform\Profiler
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Located at joomla/profiler/profiler.php
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Located at joomla/profiler/profiler.php
Methods summary
public
|
|
public static
|
#
getInstance( string $prefix = '' )
Returns the global Profiler object, only creating it if it doesn't already exist. |
public
string
|
|
public static
float
|
|
public
integer
|
|
public
array
|
|
public
array
|
|
public
mixed
|
Magic methods summary
Properties summary
protected
integer
|
$start |
#
The start time. |
protected
string
|
$prefix |
#
The prefix to use in the output |
protected
array
|
$buffer |
#
The buffer of profiling messages. |
protected
array
|
$marks |
#
The profiling messages. |
protected
float
|
$previousTime |
#
The previous time marker |
protected
float
|
$previousMem |
#
The previous memory marker |
protected static
array
|
$instances |
#
JProfiler instances container. |