Gerald Squelart 79a0e2a2fd Bug 1736489 - Add gtests for counters in JSON profiles - r=florian
This patch adds generic checks in all JSON profiles, that "counters" look valid.
And in GeckoProfiler.Counters, there are new checks for manually-added counters.

WaitForSamplingState had to be moved up. It's more efficient and reliable than an arbitraty `PR_Sleep` to wait for samples to be taken.

Differential Revision: https://phabricator.services.mozilla.com/D128840
2021-10-20 02:24:08 +00:00
..