File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
<footer>
2
- <p>Page generated in <?= $ GT ()?> s .</p>
2
+ <p>Page generated in <?= $ GT ()?> ms .</p>
3
3
</footer>
Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ function __construct($decimalPlaces = 2)
26
26
}
27
27
28
28
/*
29
- * @returns float How much time has passed (in sec ) since the page has been requested
29
+ * @returns float How much time has passed (in msec ) since the page has been requested
30
30
*/
31
31
function calcPageGenerationTime ()
32
32
{
33
- return round (microtime (true ) - $ _SERVER ['REQUEST_TIME_FLOAT ' ], $ this ->decimalPlaces );
33
+ return round (( microtime (true ) - $ _SERVER ['REQUEST_TIME_FLOAT ' ]) * 1000 , $ this ->decimalPlaces );
34
34
}
35
35
36
36
/*
37
- * Binds the calcPageGenerationTime to the passed ViEWD
37
+ * Binds calcPageGenerationTime to the passed ViEWD
38
38
* @param ViEWD $viewd ViEWD to bind the function to
39
39
* @param string $name Name of the template variable to bind the function to
40
40
*/
You can’t perform that action at this time.
0 commit comments