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 | 411 std::vector<CounterSummary> BuildSummary(bool report_per_thread, bool report_per_core) { in BuildSummary() 430 std::vector<CounterSummary> summaries = BuildSummary(false, false); in TEST_F() 445 std::vector<CounterSummary> summaries = BuildSummary(false, false); in TEST_F() 456 std::vector<CounterSummary> summaries = BuildSummary(true, false); in TEST_F() 473 std::vector<CounterSummary> summaries = BuildSummary(false, true); in TEST_F() 490 std::vector<CounterSummary> summaries = BuildSummary(true, true); in TEST_F() 514 std::vector<CounterSummary> summaries = BuildSummary(true, true); in TEST_F() 524 std::vector<CounterSummary> summaries = BuildSummary(true, true); in TEST_F() 534 std::vector<CounterSummary> summaries = BuildSummary(false, true); in TEST_F() 545 std::vector<CounterSummary> summaries = BuildSummary(true, false); in TEST_F() [all …]
|
D | cmd_stat.cpp | 94 const CounterSummary* CounterSummaries::FindSummary(const std::string& type_name, in FindSummary() 107 const CounterSummary& s = summaries_[i]; in AutoGenerateSummaries() 109 const CounterSummary* other = FindSummary(s.type_name, "k", s.thread, s.cpu); in AutoGenerateSummaries() 216 std::string CounterSummaries::GetCommentForSummary(const CounterSummary& s, in GetCommentForSummary() 240 const CounterSummary* other = FindSummary("cpu-cycles", s.modifier, s.thread, s.cpu); in GetCommentForSummary() 267 std::string CounterSummaries::GetRateComment(const CounterSummary& s, char sep) { in GetRateComment() 286 const CounterSummary* other = FindSummary(event_name, s.modifier, s.thread, s.cpu); in GetRateComment()
|