| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 84 lignes (2 kb) |
| Inclus ou requis: | 1 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
sfTimer:: (5 méthodes):
__construct()
startTimer()
addTime()
getCalls()
getElapsedTime()
| __construct($name = '') X-Ref |
| Creates a new sfTimer instance. param: string The name of the timer |
| startTimer() X-Ref |
| Starts the timer. |
| addTime() X-Ref |
| Stops the timer and add the amount of time since the start to the total time. return: integer Time spend for the last call |
| getCalls() X-Ref |
| Gets the number of calls this timer has been called to time code. return: integer Number of calls |
| getElapsedTime() X-Ref |
| Gets the total time elapsed for all calls of this timer. return: integer Time in milliseconds |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |