[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
global variables to take care of the timing stuff
Poids: | 105 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 1 fois |
Nécessite: | 0 fichiers |
Info:: (3 méthodes):
getMemoryUsage()
startMetrics()
logMetrics()
getMemoryUsage() X-Ref |
return: Returns the peak memory usage (probably more useful, though only exists on php5) |
startMetrics() X-Ref |
Starts the measurement. This method should be called before logMetrics is called, and preferably, at the beginning of the script return: Always true |
logMetrics() X-Ref |
sends performance statistics in CSV format to the output defined by the 'metricslog' logger. |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |