Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
Drecord_lib_interface.cpp114 bool ReadCounters(std::vector<Counter>* counters) override;
119 bool ReadRawCounters(std::vector<Counter>* counters);
121 void AddCounter(Counter& a, const Counter& b);
123 void SubCounter(Counter& a, const Counter& b);
128 std::vector<Counter> last_start_counters_;
131 std::vector<Counter> accumulated_counters_;
163 Counter counter; in InitAccumulatedCounters()
172 bool PerfEventSetForCounting::ReadRawCounters(std::vector<Counter>* counters) { in ReadRawCounters()
185 Counter& sum = (*counters)[i]; in ReadRawCounters()
199 void PerfEventSetForCounting::AddCounter(Counter& a, const Counter& b) { in AddCounter()
[all …]
Drecord_lib_test.cpp50 std::vector<Counter> counters; in TEST()
75 std::vector<Counter> counters; in TEST()
97 Counter prev_counter; in TEST()
102 std::vector<Counter> counters; in TEST()
128 std::vector<Counter> counters; in TEST()
136 Counter prev_counter = counters[0]; in TEST()
/system/extras/simpleperf/include/
Dsimpleperf.h34 struct Counter { struct
87 virtual bool ReadCounters(std::vector<Counter>* counters);
/system/extras/simpleperf/scripts/
Ddebug_unwind_reporter.py39 from collections import Counter, defaultdict
199 self.error_code_counter = Counter()
200 self.symbol_counters: Dict[int, Counter] = defaultdict(Counter)