Bug 1576551 - AUTO_PROFILER_STATS(locked_profiler_stream_json_for_this_process) - r=gregtatum

Add some stats (off by default) around streaming JSON, as the following patches
may affect it.

Differential Revision: https://phabricator.services.mozilla.com/D44952

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Gerald Squelart 2019-09-18 01:19:10 +00:00
Родитель c90cc7f5b7
Коммит 82b9f4f30f
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1607,6 +1607,8 @@ static void locked_profiler_stream_json_for_this_process(
MOZ_RELEASE_ASSERT(CorePS::Exists() && ActivePS::Exists(aLock));
AUTO_PROFILER_STATS(base_locked_profiler_stream_json_for_this_process);
double collectionStart = profiler_time();
ProfileBuffer& buffer = ActivePS::Buffer(aLock);

Просмотреть файл

@ -2109,6 +2109,8 @@ static void locked_profiler_stream_json_for_this_process(
MOZ_RELEASE_ASSERT(CorePS::Exists() && ActivePS::Exists(aLock));
AUTO_PROFILER_STATS(locked_profiler_stream_json_for_this_process);
double collectionStart = profiler_time();
ProfileBuffer& buffer = ActivePS::Buffer(aLock);