Closed Bug 1646613 Opened 4 years ago Closed 4 years ago

CollectOverheadStats is outputting microseconds but source incorrectly says "Ns"

Categories

(Core :: Gecko Profiler, defect, P2)

defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: mozbugz, Assigned: mozbugz)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

See https://searchfox.org/mozilla-central/source/tools/profiler/core/ProfileBuffer.cpp#139-184
Variable names have an "Ns" suffix, but computations do X.ToMilliseconds() * 1000.0; and therefore are actually in microseconds.

Since we've been outputting these numbers forever, I propose that:

Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/56716cbb41d7 Rename profiler overhead variables to include their true unit - r=canaltinova
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: