зеркало из https://github.com/mozilla/gecko-dev.git
ecaf794c38
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 |
||
---|---|---|
.. | ||
android | ||
baseprofiler | ||
build | ||
dllservices | ||
linker | ||
misc | ||
static | ||
tests | ||
moz.build |