Searched refs:summaries_ (Results 1 – 3 of 3) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_stat_impl.h | 229 size_t pre_sum_count = summaries_.size(); in AddCountersForOneEventType() 237 SortSummaries(summaries_.begin() + pre_sum_count, summaries_.end()); in AddCountersForOneEventType() 242 std::vector<CounterSummary> res = std::move(summaries_); in Build() 243 summaries_.clear(); in Build() 263 summaries_.emplace_back(info.event_name, info.event_modifier, info.group_id, thread, cpu, in AddSummary() 294 std::vector<CounterSummary> summaries_; variable 300 : summaries_(std::move(summaries)), csv_(csv) {} in CounterSummaries() 301 const std::vector<CounterSummary>& Summaries() { return summaries_; } in Summaries() 323 std::vector<CounterSummary> summaries_;
|
D | cmd_stat.cpp | 97 for (const auto& s : summaries_) { in FindSummary() 106 for (size_t i = 0; i < summaries_.size(); ++i) { in AutoGenerateSummaries() 107 const CounterSummary& s = summaries_[i]; in AutoGenerateSummaries() 112 summaries_.emplace_back(s.type_name, "", s.group_id, s.thread, s.cpu, in AutoGenerateSummaries() 121 for (auto& s : summaries_) { in GenerateComments() 127 bool show_thread = !summaries_.empty() && summaries_[0].thread != nullptr; in Show() 128 bool show_cpu = !summaries_.empty() && summaries_[0].cpu != -1; in Show() 137 for (auto& s : summaries_) { in ShowCSV() 171 for (auto& s : summaries_) { in ShowText() 199 for (auto& s : summaries_) { in ShowText()
|
D | cmd_stat_test.cpp | 564 if (!summaries_) { in GetComment() 565 summaries_.reset(new CounterSummaries(std::move(summary_v_), false)); in GetComment() 566 summaries_->GenerateComments(1.0); in GetComment() 568 if (index < summaries_->Summaries().size()) { in GetComment() 569 return &(summaries_->Summaries()[index].comment); in GetComment() 576 std::unique_ptr<CounterSummaries> summaries_; member in StatCmdSummariesTest
|