Searched refs:AddCounter (Results 1 – 2 of 2) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_stat_test.cpp | 389 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 …]
|
D | record_lib_interface.cpp | 121 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()
|