Home
last modified time | relevance | path

Searched refs:time_enabled (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
Dcmd_stat_test.cpp355 counter.time_enabled = 2; in TEST()
360 ASSERT_EQ(a.time_enabled, 2); in TEST()
364 ASSERT_EQ(b.time_enabled, 4); in TEST()
368 ASSERT_EQ(c.time_enabled, 0); in TEST()
372 ASSERT_EQ(counter.time_enabled, 4); in TEST()
383 int time_enabled = 1; member
407 counter.counter.time_enabled = arg.time_enabled; in AddCounter()
428 AddCounter({.event_id = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
429 AddCounter({.event_id = 1, .value = 2, .time_enabled = 2, .time_running = 2}); in TEST_F()
441 AddCounter({.tid = 0, .cpu = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
[all …]
Dcmd_stat_impl.h38 uint64_t time_enabled = 0; member
43 time_enabled = counter.time_enabled; in FromCounter()
49 counter.time_enabled = time_enabled; in ToCounter()
56 res.time_enabled = time_enabled + other.time_enabled;
64 res.time_enabled = time_enabled - other.time_enabled;
250 if (sum.time_running < sum.time_enabled && sum.time_running != 0) { in AddSummary()
251 scale = static_cast<double>(sum.time_enabled) / sum.time_running; in AddSummary()
Devent_fd.h35 uint64_t time_enabled; // The enabled time. member
Drecord_lib_interface.cpp192 sum.time_enabled_in_ns += c.counter.time_enabled; in ReadRawCounters()
Dcmd_stat.cpp820 counter_info.counter.value, counter_info.counter.time_enabled, in ShowCounters()
827 counter_info.counter.value, counter_info.counter.time_enabled, in ShowCounters()
/system/extras/tests/icachetest/
DProfiler.h85 uint64_t time_enabled; variable
94 lhs.time_enabled -= rhs.time_enabled;
113 return std::chrono::duration<uint64_t, std::nano>(time_enabled); in getWallTime()
191 outCounters->time_enabled = counters.time_enabled; in readCounters()