[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/misc/ -> info.class.php (sommaire)

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

Définit 1 class

Info:: (3 méthodes):
  getMemoryUsage()
  startMetrics()
  logMetrics()


Classe: Info  - X-Ref

Basic class for obtaining certain information about the script and the server
itself. This class will in the future have benchmarking methods, etc.

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
  Clicky Web Analytics