| This feature was removed completely in version 1.32.0. |
| Global object: $wgRequestTime | |
|---|---|
| timer, initialized in WebStart.php and Maintenance.php | |
| Deprecated in: | 1.25.0 |
| Removed in: | 1.32.0 |
| Class: | Unspecified |
| Located in: | Unspecified |
Overview
$wgRequestTime is a global microtime float that is initialized early in the engine that a lot of other times are computed relative to for logging, profiling, and debugging.
Examples
A snippet from Debug.php:
global $wgRequestTime;
return array(
'time' => microtime( true ) - $wgRequestTime,
);
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.