зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1462784 - Annotate idle stacks in the native event loop on Linux. r=froydnj
MozReview-Commit-ID: 3Q2A7ytsn1Y --HG-- extra : rebase_source : 83271e841a84fc2ac7a2fdd5cc66812fb09f61f1
This commit is contained in:
Родитель
358ae08897
Коммит
bdb6a5f828
|
@ -49,6 +49,7 @@ PollWrapper(GPollFD *ufds, guint nfsd, gint timeout_)
|
|||
mozilla::HangMonitor::Suspend();
|
||||
gint result;
|
||||
{
|
||||
AUTO_PROFILER_LABEL("PollWrapper", IDLE);
|
||||
AUTO_PROFILER_THREAD_SLEEP;
|
||||
result = (*sPollFunc)(ufds, nfsd, timeout_);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче