MCPcopy Create free account
hub / github.com/facebook/react / useCounters

Function useCounters

scripts/perf-counters/src/hardware-counter.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34static std::string s_profileHWEvents;
35
36static inline bool useCounters() {
37#ifdef VALGRIND
38 return false;
39#else
40 return s_profileHWEnable;
41#endif
42}
43
44class HardwareCounterImpl {
45public:

Callers 2

readRawMethod · 0.85
resetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected