Log ReactContext counters

Reviewed By: AaaChiuuu

Differential Revision: D4501870

fbshipit-source-id: 97a5ece611a8d0d4049c63306382f56cac90434b
This commit is contained in:
Alexey Lang 2017-02-28 06:31:00 -08:00 committed by Facebook Github Bot
parent 0097ab98a7
commit 1744639ad7
1 changed files with 1 additions and 1 deletions

View File

@ -775,7 +775,7 @@ public class UIImplementation {
cssRoot.calculateLayout(); cssRoot.calculateLayout();
} finally { } finally {
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE); Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
mLayoutTimer = mLayoutTimer + ((double)System.nanoTime() - startTime)/ 1000000000.0; mLayoutTimer = mLayoutTimer + ((double)System.nanoTime() - startTime) / 1000000.0;
mLayoutCount = mLayoutCount + 1; mLayoutCount = mLayoutCount + 1;
} }
} }