Searched refs:time_enabled (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_stat_test.cpp | 355 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 …]
|
D | cmd_stat_impl.h | 38 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()
|
D | event_fd.h | 35 uint64_t time_enabled; // The enabled time. member
|
D | record_lib_interface.cpp | 192 sum.time_enabled_in_ns += c.counter.time_enabled; in ReadRawCounters()
|
D | cmd_stat.cpp | 820 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/ |
D | Profiler.h | 85 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()
|