Closed
Bug 666667
Opened 14 years ago
Closed 14 years ago
Clean up descriptions in TelemetryHistograms.h
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
People
(Reporter: justin.lebar+bug, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
3.16 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
TelemetryHistograms.h:
HISTOGRAM(MEMORY_JS_GC_HEAP, 1024, 512 * 1024, 10, EXPONENTIAL, "Memory(MB) used by the JavaScript GC")
HISTOGRAM(MEMORY_RESIDENT, 32 * 1024, 1024 * 1024, 10, EXPONENTIAL, "Resident memory(MB) reported by OS")
HISTOGRAM(MEMORY_LAYOUT_ALL, 1024, 64 * 1024, 10, EXPONENTIAL, "Memory(MB) reported used by layout")
But TelemetryPing.js:
name = "Memory:" + mr.path + " + (KB)";
val = Math.floor(mr.amount / 1024);
Reporter | ||
Comment 1•14 years ago
|
||
Reporter | ||
Updated•14 years ago
|
Attachment #541442 -
Flags: review?(tglek)
Reporter | ||
Comment 2•14 years ago
|
||
Now that I have a closer look at the file, I think many of these descriptions need to be cleaned up (and my patch doesn't follow the existing convention). I'll try again in a moment.
Summary: Update TelemetryHistograms.h to indicate that memory is reported in KB, not MB → Clean up descriptions in TelemetryHistograms.h
Reporter | ||
Updated•14 years ago
|
Attachment #541442 -
Attachment is obsolete: true
Attachment #541442 -
Flags: review?(tglek)
Reporter | ||
Comment 3•14 years ago
|
||
Reporter | ||
Updated•14 years ago
|
Attachment #541444 -
Flags: review?(tglek)
Comment 4•14 years ago
|
||
Comment on attachment 541444 [details] [diff] [review]
Patch v2
Please also get rid of
let name = "Memory:" + mr.path + " (KB)";
and just use mr.name as a key in _histograms
Attachment #541444 -
Flags: review?(tglek) → review+
Comment 5•14 years ago
|
||
> HISTOGRAM(HARD_PAGE_FAULTS, 1024, 1024 * 1024, 10, EXPONENTIAL, "Hard page faults (cumulative)")
where does that come from?
Comment 6•14 years ago
|
||
(In reply to comment #5)
> > HISTOGRAM(HARD_PAGE_FAULTS, 1024, 1024 * 1024, 10, EXPONENTIAL, "Hard page faults (cumulative)")
>
> where does that come from?
bug 664486
Reporter | ||
Comment 7•14 years ago
|
||
Whiteboard: [inbound]
Comment 8•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
You need to log in
before you can comment on or make changes to this bug.
Description
•