[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2005 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 188 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Profiler:: (6 methods):
__construct()
getInstance()
mark()
getMarks()
getBuffer()
setStart()
__construct($prefix = '') X-Ref |
Constructor param: string $prefix Prefix for mark messages |
getInstance($prefix = '') X-Ref |
Returns the global Profiler object, only creating it if it doesn't already exist. param: string $prefix Prefix used to distinguish profiler objects. return: Profiler The Profiler object. |
mark($label) X-Ref |
Output a time mark param: string $label A label for the time mark return: string |
getMarks() X-Ref |
Get all profiler marks. Returns an array of all marks created since the Profiler object was instantiated. Marks are objects as per {@link JProfiler::mark()}. return: array Array of profiler marks |
getBuffer() X-Ref |
Get all profiler mark buffers. Returns an array of all mark buffers created since the Profiler object was instantiated. Marks are strings as per {@link Profiler::mark()}. return: array Array of profiler marks |
setStart($startTime = 0.0, $startMem = 0) X-Ref |
Sets the start time. param: double $startTime Unix timestamp in microseconds for setting the Profiler start time. param: int $startMem Memory amount in bytes for setting the Profiler start memory. return: $this For chaining |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |