Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_stat_test.cpp389 void AddCounter(const CounterArg& arg) { in AddCounter() function in StatCmdSummaryBuilderTest
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()
442 AddCounter({.tid = 0, .cpu = 1, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
443 AddCounter({.tid = 1, .cpu = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
444 AddCounter({.tid = 1, .cpu = 1, .value = 2, .time_enabled = 2, .time_running = 1}); in TEST_F()
452 AddCounter({.tid = 0, .cpu = 0, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
453 AddCounter({.tid = 0, .cpu = 1, .value = 1, .time_enabled = 1, .time_running = 1}); in TEST_F()
454 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()