Skip to content

Commit

Permalink
Stats: update TimingMetric->observe() docstring
Browse files Browse the repository at this point in the history
Milliseconds are expected.  The docstring should note this.

Bug: T348795
Change-Id: Ie860a338acd37d6c0ee3700331aade49f5737265
  • Loading branch information
shdubsh committed Oct 12, 2023
1 parent 236fa50 commit 3fb9a4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion includes/libs/Stats/Metrics/TimingMetric.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ public function stop(): void {
/**
* Records a previously calculated observation.
*
* @param float $value
* Expects values in milliseconds.
*
* @param float $value milliseconds
* @return void
*/
public function observe( float $value ): void {
Expand Down

0 comments on commit 3fb9a4b

Please sign in to comment.