mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1013172: Tracelogger: Mark the time a thread is paused, r=jandem
This commit is contained in:
parent
22a4511489
commit
3ed82e176d
@ -1025,6 +1025,9 @@ CurrentHelperThread()
|
||||
void
|
||||
js::PauseCurrentHelperThread()
|
||||
{
|
||||
TraceLogger *logger = TraceLoggerForCurrentThread();
|
||||
AutoTraceLog logPaused(logger, TraceLogger::IonCompilationPaused);
|
||||
|
||||
HelperThread *thread = CurrentHelperThread();
|
||||
|
||||
AutoLockHelperThreadState lock;
|
||||
|
@ -118,6 +118,7 @@ namespace jit {
|
||||
_(Interpreter) \
|
||||
_(Invalidation) \
|
||||
_(IonCompilation) \
|
||||
_(IonCompilationPaused) \
|
||||
_(IonLinking) \
|
||||
_(IonMonkey) \
|
||||
_(MinorGC) \
|
||||
|
Loading…
Reference in New Issue
Block a user