JProfiler
Description
Utility class to assist in the process of benchmarking the execution of sections of code to understand where time is being spent.
Located in /joomla/utilities/profiler.php (line 28)
JObject (Subpackage Base) JProfiler (Subpackage Utilities)
Method Summary
Methods
Constructor __construct (line 54)
Constructor
JProfiler
__construct
([string $prefix = ''])
- string $prefix: Prefix for mark messages
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
getBuffer (line 162)
Get all profiler marks.
Returns an array of all marks created since the Profiler object was instantiated. Marks are strings as per JProfiler::mark().
array
getBuffer
()
getInstance (line 72)
Returns a reference to the global Profiler object, only creating it if it doesn't already exist.
This method must be invoked as:
$browser = & JProfiler::getInstance( $prefix );
- string $prefix: Prefix used to distinguish profiler objects.
mark (line 97)
Output a time mark
The mark is returned as text enclosed in <div> tags with a CSS class of 'profiler'.
string
mark
(string $label)
- string $label: A label for the time mark
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 21:19:13 +0000 by phpDocumentor 1.3.1