Class Profiler
Mit Hilfe des Profilers lassen sich Zeit, Speicher und Aufruf-Funktionen sammeln und ausgeben. Der Profiler ist von \Alvine\Core\AbstractFactory abgeleitet. Das bedeutet, dass es für jeden Namen immer nur eine Instanz geben kann.
Ein neuer Profiler kann über die Methode getInstance() erstellt werden.
Profiler::getInstance('test');
- Alvine\Core\Alvine implements Serializable uses Alvine\Core\SerializableImplementation
- Alvine\Core\AbstractFactory uses Alvine\Core\FactoryImplementation
- Alvine\Util\Profiling\Profiler
Namespace: Alvine\Util\Profiling
Package: Alvine\Util\Profiling
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20110904
Link: Alvine
Located at util/profiling/Profiler.class.php
Package: Alvine\Util\Profiling
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20110904
Link: Alvine
Located at util/profiling/Profiler.class.php
protected
|
|
public
Alvine\Util\Profiler
|
|
public
array
|
|
public
float
|
#
getDuration(
Dauer |
public static
|
__call(),
__clone(),
__get(),
__set(),
__toString(),
equals(),
getClass(),
getClone(),
getClosure(),
getHashCode(),
getID(),
getShortID(),
isCallable(),
isInstanceOf(),
propertyExists()
|
serialize(),
unserialize()
|
getInstance(),
getRegisteredInstanceName()
|
checkAndAdjustSerialisation(),
serialize(),
unserialize()
|
APIVERSION,
IDENTIFICATION,
SERIALVERSION,
VERSION
|
protected
integer
|
$nodeIndex
Node-Zähler |
#
0
|
protected
array
|
$nodes
Liste mit den Nodes |
#
array()
|
protected
Profiler\Node
|
$lastNode
Referenz auf die letzte Node |
#
null
|
$hash,
$properties
|
$defaultname,
$instances,
$registeredInstanceName
|