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()
112 ASSERT_GT(counters[0].time_enabled_in_ns, 0u); in TEST()
114 ASSERT_LE(counters[0].time_running_in_ns, counters[0].time_enabled_in_ns); in TEST()
117 ASSERT_GT(counters[0].time_enabled_in_ns, prev_counter.time_enabled_in_ns); in TEST()
138 ASSERT_GT(counters[0].time_enabled_in_ns, 0u); in TEST()
140 ASSERT_LE(counters[0].time_running_in_ns, counters[0].time_enabled_in_ns); in TEST()
146 ASSERT_EQ(counters[0].time_enabled_in_ns, prev_counter.time_enabled_in_ns); in TEST()
Drecord_lib_interface.cpp164 counter.time_enabled_in_ns = 0; in InitAccumulatedCounters()
186 sum.time_enabled_in_ns = 0; in ReadRawCounters()
190 sum.time_enabled_in_ns += c.counter.time_enabled; in ReadRawCounters()
199 a.time_enabled_in_ns += b.time_enabled_in_ns; in AddCounter()
200 a.time_running_in_ns += b.time_enabled_in_ns; in AddCounter()
205 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