Home
last modified time | relevance | path

Searched refs:time_enabled_in_ns (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Drecord_lib_test.cpp58 ASSERT_GE(counter.time_enabled_in_ns, 0u); in TEST()
60 ASSERT_LE(counter.time_running_in_ns, counter.time_enabled_in_ns); in TEST()
80 ASSERT_GT(counters[0].time_enabled_in_ns, 0u); in TEST()
82 ASSERT_LE(counters[0].time_running_in_ns, counters[0].time_enabled_in_ns); in TEST()
107 ASSERT_GT(counters[0].time_enabled_in_ns, 0u); in TEST()
109 ASSERT_LE(counters[0].time_running_in_ns, counters[0].time_enabled_in_ns); in TEST()
112 ASSERT_GT(counters[0].time_enabled_in_ns, prev_counter.time_enabled_in_ns); in TEST()
133 ASSERT_GT(counters[0].time_enabled_in_ns, 0u); in TEST()
135 ASSERT_LE(counters[0].time_running_in_ns, counters[0].time_enabled_in_ns); in TEST()
141 ASSERT_EQ(counters[0].time_enabled_in_ns, prev_counter.time_enabled_in_ns); in TEST()
Drecord_lib_interface.cpp166 counter.time_enabled_in_ns = 0; in InitAccumulatedCounters()
188 sum.time_enabled_in_ns = 0; in ReadRawCounters()
192 sum.time_enabled_in_ns += c.counter.time_enabled; in ReadRawCounters()
201 a.time_enabled_in_ns += b.time_enabled_in_ns; in AddCounter()
202 a.time_running_in_ns += b.time_enabled_in_ns; in AddCounter()
207 a.time_enabled_in_ns -= b.time_enabled_in_ns; in SubCounter()
/system/extras/simpleperf/include/
Dsimpleperf.h40 uint64_t time_enabled_in_ns; member