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)
Core
Gecko Profiler
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:
- We change the variable suffixes to "Us" to show the correct unit.
- The frontend should change the displayed units from "ns" to "µs": https://github.com/firefox-devtools/profiler/issues/2603
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/56716cbb41d7
Rename profiler overhead variables to include their true unit - r=canaltinova
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Updated•3 years ago
|
Keywords: regression
Updated•3 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•