mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
Bug 1462784 - Add an IDLE category. r=njn
MozReview-Commit-ID: JJ30AhXofBr --HG-- extra : rebase_source : d79d4da6d51a5dd7259cf015ee1f3678d59ac3bd
This commit is contained in:
parent
d80822de42
commit
d521b4678d
@ -190,6 +190,7 @@ class ProfilingStackFrame
|
||||
|
||||
// Keep these in sync with devtools/client/performance/modules/categories.js
|
||||
enum class Category : uint32_t {
|
||||
IDLE,
|
||||
OTHER,
|
||||
LAYOUT,
|
||||
JS,
|
||||
|
@ -726,7 +726,7 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
}
|
||||
|
||||
AUTO_PROFILER_LABEL("nsAppShell::ProcessNextNativeEvent:Wait",
|
||||
OTHER);
|
||||
IDLE);
|
||||
mozilla::HangMonitor::Suspend();
|
||||
|
||||
curEvent = mEventQueue.Pop(/* mayWait */ true);
|
||||
|
Loading…
Reference in New Issue
Block a user