Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_stat_impl.h35 uint64_t time_enabled = 0; member
40 time_enabled = counter.time_enabled; in FromCounter()
46 counter.time_enabled = time_enabled; in ToCounter()
53 res.time_enabled = time_enabled + other.time_enabled;
61 res.time_enabled = time_enabled - other.time_enabled;
198 if (sum.time_running < sum.time_enabled && sum.time_running != 0) { in AddSummary()
199 scale = static_cast<double>(sum.time_enabled) / sum.time_running; in AddSummary()
Dcmd_stat_test.cpp351 counter.time_enabled = 2; in TEST()
356 ASSERT_EQ(a.time_enabled, 2); in TEST()
360 ASSERT_EQ(b.time_enabled, 4); in TEST()
364 ASSERT_EQ(c.time_enabled, 0); in TEST()
368 ASSERT_EQ(counter.time_enabled, 4); in TEST()
374 void AddCounter(int event_id, pid_t tid, int cpu, int value, int time_enabled, int time_running) { in AddCounter() argument
392 counter.counter.time_enabled = time_enabled; in AddCounter()
Devent_fd.h33 uint64_t time_enabled; // The enabled time. member
Drecord_lib_interface.cpp190 sum.time_enabled_in_ns += c.counter.time_enabled; in ReadRawCounters()
Dcmd_stat.cpp818 counter_info.counter.time_enabled, in ShowCounters()
826 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()