|
MediaWiki master
|
RunningTimer Implementation. More...
Public Member Functions | |
| __construct (float $startTime, TimingMetric $metric, array $initialLabels) | |
| setLabel (string $key, string $value) | |
| Handle for MetricInterface::setLabel. | |
| setLabels (array $labels) | |
| Handle for MetricInterface::setLabels. | |
| stop () | |
| Stop the running timer. | |
RunningTimer Implementation.
A class to help TimingMetrics handle instances of recursion.
Definition at line 19 of file RunningTimer.php.
| Wikimedia\Stats\Metrics\RunningTimer::__construct | ( | float | $startTime, |
| TimingMetric | $metric, | ||
| array | $initialLabels ) |
Definition at line 26 of file RunningTimer.php.
| Wikimedia\Stats\Metrics\RunningTimer::setLabel | ( | string | $key, |
| string | $value ) |
Handle for MetricInterface::setLabel.
Definition at line 38 of file RunningTimer.php.
| Wikimedia\Stats\Metrics\RunningTimer::setLabels | ( | array | $labels | ) |
Handle for MetricInterface::setLabels.
Definition at line 49 of file RunningTimer.php.
| Wikimedia\Stats\Metrics\RunningTimer::stop | ( | ) |
Stop the running timer.
Definition at line 57 of file RunningTimer.php.