Bug 1075096 - Separate LayerTransactions in profiler. r=benwa

This commit is contained in:
Mason Chang 2014-10-01 11:38:00 +02:00
parent dacf89f8a8
commit 32d0a8588d

View File

@ -203,7 +203,7 @@ LayerTransactionParent::RecvUpdate(const InfallibleTArray<Edit>& cset,
const mozilla::TimeStamp& aTransactionStart,
InfallibleTArray<EditReply>* reply)
{
profiler_tracing("Paint", "Composite", TRACING_INTERVAL_START);
profiler_tracing("Paint", "LayerTransaction", TRACING_INTERVAL_START);
PROFILER_LABEL("LayerTransactionParent", "RecvUpdate",
js::ProfileEntry::Category::GRAPHICS);
@ -581,6 +581,7 @@ LayerTransactionParent::RecvUpdate(const InfallibleTArray<Edit>& cset,
mLayerManager->VisualFrameWarning(severity);
}
profiler_tracing("Paint", "LayerTransaction", TRACING_INTERVAL_END);
return true;
}