gecko-dev/mozglue
Gerald Squelart ecaf794c38 Bug 1329600 - Scaffolding to output CPU measurements in samples - r=canaltinova
The `RunningTimes` class stores CPU measurements. It may seem overkill for only one value, but in the future more measurements will be added.

During sampling, CPU measurements are collected by platform-specific code. This patch doesn't produce anything yet, see later patches.
These are stored with the samples.
Note that for duplicated samples (when a thread is known to be "asleep"), we still need to collect new measurements, because there could potentially be some activity happening, e.g. in system calls.
Finally the measurements are output as extra "samples" values.

Units for these values may platform-specific, so they are stored in the top-level JSON "meta" object.

We don't collect running times in the Base Profiler (yet), but we still need to add the appropriate field names in the samples' "schema", as expected by profiler.firefox.com.

Differential Revision: https://phabricator.services.mozilla.com/D99413
2021-01-04 07:19:16 +00:00
..
android Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
baseprofiler Bug 1329600 - Scaffolding to output CPU measurements in samples - r=canaltinova 2021-01-04 07:19:16 +00:00
build Backed out changeset ef0570dd669b (bug 1664535) for High frequency failures. CLOSED TREE 2020-12-18 22:32:54 +02:00
dllservices Bug 1679272 - Include ScopeExit.h exactly where used. r=andi 2020-12-07 14:25:59 +00:00
linker Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
misc Backed out 2 changesets (bug 1681445) for causing Bug 1684265 2020-12-28 18:41:59 +02:00
static
tests Bug 1684110 - Stop using some 'A'-functions in TestDllInterceptor. r=tkikuchi 2020-12-27 08:40:36 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00