Lines Matching refs:counters
441 void AdjustToIntervalOnlyValues(std::vector<CountersInfo>& counters);
442 bool ShowCounters(const std::vector<CountersInfo>& counters,
567 std::vector<CountersInfo> counters; in Run() local
589 if (!event_selection_set_.ReadCounters(&counters)) { in Run()
597 AdjustToIntervalOnlyValues(counters); in Run()
599 if (!ShowCounters(counters, duration_in_sec, fp)) { in Run()
796 void StatCommand::AdjustToIntervalOnlyValues(std::vector<CountersInfo>& counters) { in AdjustToIntervalOnlyValues() argument
797 if (last_sum_values_.size() < counters.size()) { in AdjustToIntervalOnlyValues()
798 last_sum_values_.resize(counters.size()); in AdjustToIntervalOnlyValues()
800 for (size_t i = 0; i < counters.size(); i++) { in AdjustToIntervalOnlyValues()
801 std::vector<CounterInfo>& counters_per_event = counters[i].counters; in AdjustToIntervalOnlyValues()
818 bool StatCommand::ShowCounters(const std::vector<CountersInfo>& counters, in ShowCounters() argument
827 for (auto& counters_info : counters) { in ShowCounters()
828 for (auto& counter_info : counters_info.counters) { in ShowCounters()
851 for (const auto& info : counters) { in ShowCounters()