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

--HG--
extra : rebase_source : addf1db7cfe59fced1a8e8331034a28a2d801712
This commit is contained in:
Nicholas Nethercote 2013-11-18 22:24:18 -08:00
parent 72e4c4fc28
commit ed562d6f23
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");