Searched refs:CounterSummary (Results 1 – 3 of 3) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_stat_impl.h | 76 struct CounterSummary { struct 92 CounterSummary(const std::string& type_name, const std::string& modifier, uint32_t group_id, in CounterSummary() argument 107 bool IsMonitoredAtTheSameTime(const CounterSummary& other) const { in IsMonitoredAtTheSameTime() argument 165 using SummaryComparator = SampleComparator<CounterSummary>; 241 std::vector<CounterSummary> Build() { in Build() 242 std::vector<CounterSummary> res = std::move(summaries_); in Build() 267 void SortSummaries(std::vector<CounterSummary>::iterator begin, in SortSummaries() 268 std::vector<CounterSummary>::iterator end) { in SortSummaries() 294 std::vector<CounterSummary> summaries_; 299 explicit CounterSummaries(std::vector<CounterSummary>&& summaries, bool csv) in CounterSummaries() [all …]
|
D | cmd_stat_test.cpp | 413 std::vector<CounterSummary> BuildSummary(bool report_per_thread, bool report_per_core) { in BuildSummary() 432 std::vector<CounterSummary> summaries = BuildSummary(false, false); in TEST_F() 447 std::vector<CounterSummary> summaries = BuildSummary(false, false); in TEST_F() 458 std::vector<CounterSummary> summaries = BuildSummary(true, false); in TEST_F() 475 std::vector<CounterSummary> summaries = BuildSummary(false, true); in TEST_F() 492 std::vector<CounterSummary> summaries = BuildSummary(true, true); in TEST_F() 516 std::vector<CounterSummary> summaries = BuildSummary(true, true); in TEST_F() 526 std::vector<CounterSummary> summaries = BuildSummary(true, true); in TEST_F() 536 std::vector<CounterSummary> summaries = BuildSummary(false, true); in TEST_F() 547 std::vector<CounterSummary> summaries = BuildSummary(true, false); in TEST_F() [all …]
|
D | cmd_stat.cpp | 95 const CounterSummary* CounterSummaries::FindSummary(const std::string& type_name, in FindSummary() 108 const CounterSummary& s = summaries_[i]; in AutoGenerateSummaries() 110 const CounterSummary* other = FindSummary(s.type_name, "k", s.thread, s.cpu); in AutoGenerateSummaries() 217 std::string CounterSummaries::GetCommentForSummary(const CounterSummary& s, in GetCommentForSummary() 241 const CounterSummary* other = FindSummary("cpu-cycles", s.modifier, s.thread, s.cpu); in GetCommentForSummary() 268 std::string CounterSummaries::GetRateComment(const CounterSummary& s, char sep) { in GetRateComment() 287 const CounterSummary* other = FindSummary(event_name, s.modifier, s.thread, s.cpu); in GetRateComment()
|