Commit Graph

66 Commits

Author SHA1 Message Date
Chris H-C
a4334b1b30 bug 1218576 - Support remote accumulation via JS histograms. r=gfritzsche
The JS histograms, too, need to dispatch their accumulations from child to
parent.

JSHistograms_Add now only supports histograms that are in gHistogramsMap or
that were created in the parent process. After bug 1288745, maybe we'll be able
to change this to be less convoluted.

MozReview-Commit-ID: 3qTH89YKbGP
2016-09-19 13:30:25 -04:00
Chris H-C
e8f4e068f1 bug 1218576 - Pre-allocate child keyed histograms in the parent process r=gfritzsche
I originally thought we'd be able to avoid the previous implementation's waste
of a map full of every kind of keyed histogram. Unfortunately, other code
(TelemetrySession at the very least) depends on this (and will throw if a keyed
histogram isn't present, even if it is empty)

MozReview-Commit-ID: 8MCGVa595UB
2016-09-19 13:30:25 -04:00
Chris H-C
3e67c97758 bug 1218576 - Support subsession hgrams for child aggregation r=gfritzsche
The original commit didn't properly support subsession histograms, so rectify
that lapse by adding support for stripping out the base name of a histogram
when trying to determine its id.

MozReview-Commit-ID: LvUek6f5WUx
2016-09-19 13:30:25 -04:00
Chris H-C
b15477b262 bug 1218576 - Accumulate child histograms in the parent process r=froydnj
Batch the accumulations to only transmit every so often, so we don't incur
too much in the way of IPC overhead penalties.

What this doesn't do:
* remove or restructure child telemetry code to adapt to the new way
* send the telemetry anywhere
* allow for the child process to clear child histograms
* support anything but histograms (but this is expected and okay)

MozReview-Commit-ID: JnUkcmN3Ya7
2016-09-19 13:30:25 -04:00
AdamG2
43b3c47b39 Bug 1299144 - Replace TelemetryHistogram::NewKeyedHistogram and replace with predefined histograms. r=chutten
MozReview-Commit-ID: FLRyEswR6r7
2016-09-13 01:04:39 -04:00
AdamG2
ba4b44c12c Bug 1288745 - Remove TelemetryHistogram::NewHistogram and replace with predefined histograms. r=chutten
MozReview-Commit-ID: 6v270MnquqT
2016-09-03 15:26:40 -04:00
Georg Fritzsche
e54db4e599 Bug 1188888 - Part 6 - Implement C++ API for categorical histograms. r=chutten,r=froyndj 2016-07-20 17:10:24 +02:00
Georg Fritzsche
75a2db27c3 Bug 1188888 - Part 4 - Implement categorical histograms with JS API. r=chutten 2016-07-20 17:10:24 +02:00
Julian Seward
39faa31be1 Bug 1279614 - 2,000 instances of "XPCOM objects created/destroyed from static ctor/dtor" emitted from xpcom/base/nsTraceRefcnt.cpp during linux64 debug testing. r=gfritzsche,jmathies. 2016-06-30 14:04:15 +02:00
Alessio Placitelli
b63d53634e Bug 1276195 - Add scalar measurements API & storage in Telemetry C++ core. r=gfritzsche
MozReview-Commit-ID: K27PoMxWRMp
2016-06-25 01:01:00 +02:00
Julian Seward
0e2d48e6dc Bug 1258183 - TSan: data race toolkit/components/telemetry/Telemetry.cpp in CanRecordBase (part 2, derace). r=chutten. 2016-06-08 17:46:24 +02:00
Nicholas Nethercote
e91dc6571a Bug 1267551 (part 10) - Use MOZ_MUST_USE in AutoVectorRooterBase. r=terrence.
This patch fixes numerous unchecked calls.
2016-06-01 15:49:04 +10:00
Alessio Placitelli
f745b6aff4 Bug 1145164 - Allow non-unitary increments to count histograms. r=gfritzsche
MozReview-Commit-ID: 7HxoGWmm22h
2016-05-10 09:49:00 +02:00
Julian Seward
64b3a1608f Bug 1261052 - Move C++ histogram implementation code into a separate module. r=gfritzsche. 2016-05-17 15:05:19 +02:00
Carsten "Tomcat" Book
7efeacf304 Backed out changeset 6bf8922cd1b7 (bug 1261052) for windows pgo bustage 2016-05-13 14:26:12 +02:00
Julian Seward
57ccf65321 Bug 1261052 - Move C++ histogram implementation code into a separate module. r=gfritzsche. 2016-05-13 11:29:49 +02:00