Bug 1013172: Tracelogger: Mark the time a thread is paused, r=jandem

This commit is contained in:
Hannes Verschore 2014-07-04 19:43:23 +02:00
parent 22a4511489
commit 3ed82e176d
2 changed files with 4 additions and 0 deletions

View File

@ -1025,6 +1025,9 @@ CurrentHelperThread()
void
js::PauseCurrentHelperThread()
{
TraceLogger *logger = TraceLoggerForCurrentThread();
AutoTraceLog logPaused(logger, TraceLogger::IonCompilationPaused);
HelperThread *thread = CurrentHelperThread();
AutoLockHelperThreadState lock;

View File

@ -118,6 +118,7 @@ namespace jit {
_(Interpreter) \
_(Invalidation) \
_(IonCompilation) \
_(IonCompilationPaused) \
_(IonLinking) \
_(IonMonkey) \
_(MinorGC) \