Home
last modified time | relevance | path

Searched refs:AddCounter (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Dcmd_stat_test.cpp393 void AddCounter(const CounterArg& arg) { in AddCounter() function in StatCmdSummaryBuilderTest
432 AddCounter({.event_id = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
433 AddCounter({.event_id = 1, .value = 2, .time_enabled = 2, .time_running = 2}); in TEST_F()
445 AddCounter({.tid = 0, .cpu = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
446 AddCounter({.tid = 0, .cpu = 1, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
447 AddCounter({.tid = 1, .cpu = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
448 AddCounter({.tid = 1, .cpu = 1, .value = 2, .time_enabled = 2, .time_running = 1}); in TEST_F()
456 AddCounter({.tid = 0, .cpu = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
457 AddCounter({.tid = 0, .cpu = 1, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
458 AddCounter({.tid = 1, .cpu = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
[all …]
Drecord_lib_interface.cpp121 void AddCounter(Counter& a, const Counter& b);
199 void PerfEventSetForCounting::AddCounter(Counter& a, const Counter& b) { in AddCounter() function in simpleperf::PerfEventSetForCounting
238 AddCounter(accumulated_counters_[i], cur[i]); in StopCounters()
254 AddCounter((*counters)[i], accumulated_counters_[i]); in ReadCounters()