Bug 939385 (part 2, attempt 2) - Expose vsizeMaxContiguous to telemetry. r=froydnj.

--HG--
extra : rebase_source : c6d4438abd5d17ab70805c59baa68bbc2962b9ba
This commit is contained in:
Nicholas Nethercote 2013-11-18 22:24:18 -08:00
parent 1393fae24e
commit 4e3a422449
2 changed files with 9 additions and 0 deletions

View File

@ -255,6 +255,14 @@
"extended_statistics_ok": true,
"description": "Virtual memory size (KB)"
},
"MEMORY_VSIZE_MAX_CONTIGUOUS": {
"kind": "exponential",
"low": "32 * 1024",
"high": "16 * 1024 * 1024",
"n_buckets": 100,
"extended_statistics_ok": true,
"description": "Maximum-sized block of contiguous virtual memory (KB)"
},
"MEMORY_JS_COMPARTMENTS_SYSTEM": {
"kind": "exponential",
"high": "1000",

View File

@ -452,6 +452,7 @@ TelemetryPing.prototype = {
let p = (id, n) => h(id, Ci.nsIMemoryReporter.UNITS_PERCENTAGE, n);
b("MEMORY_VSIZE", "vsize");
b("MEMORY_VSIZE_MAX_CONTIGUOUS", "vsizeMaxContiguous");
b("MEMORY_RESIDENT", "residentFast");
b("MEMORY_HEAP_ALLOCATED", "heapAllocated");
p("MEMORY_HEAP_COMMITTED_UNUSED_RATIO", "heapOverheadRatio");