зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
c90cc7f5b7
Коммит
82b9f4f30f
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче