From ffbb2a0ec11012097f83da3f3efeed39b2b06fac Mon Sep 17 00:00:00 2001 From: Alexey Lang Date: Tue, 9 May 2017 13:19:15 -0700 Subject: [PATCH] Clean up unused metrics Reviewed By: AaaChiuuu Differential Revision: D5020126 fbshipit-source-id: decaa9dd4b2ba5c25eed24a29836a3e7bdba0233 --- Libraries/Performance/Systrace.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Libraries/Performance/Systrace.js b/Libraries/Performance/Systrace.js index d1d9e2f76..15bade515 100644 --- a/Libraries/Performance/Systrace.js +++ b/Libraries/Performance/Systrace.js @@ -81,6 +81,10 @@ const Systrace = { } }, + isEnabled(): boolean { + return _enabled; + }, + /** * beginEvent/endEvent for starting and then ending a profile within the same call stack frame **/