Lines Matching refs:counters
422 void AdjustToIntervalOnlyValues(std::vector<CountersInfo>& counters);
423 bool ShowCounters(const std::vector<CountersInfo>& counters,
545 std::vector<CountersInfo> counters; in Run() local
567 if (!event_selection_set_.ReadCounters(&counters)) { in Run()
575 AdjustToIntervalOnlyValues(counters); in Run()
577 if (!ShowCounters(counters, duration_in_sec, fp)) { in Run()
780 void StatCommand::AdjustToIntervalOnlyValues(std::vector<CountersInfo>& counters) { in AdjustToIntervalOnlyValues() argument
781 if (last_sum_values_.size() < counters.size()) { in AdjustToIntervalOnlyValues()
782 last_sum_values_.resize(counters.size()); in AdjustToIntervalOnlyValues()
784 for (size_t i = 0; i < counters.size(); i++) { in AdjustToIntervalOnlyValues()
785 std::vector<CounterInfo>& counters_per_event = counters[i].counters; in AdjustToIntervalOnlyValues()
802 bool StatCommand::ShowCounters(const std::vector<CountersInfo>& counters, in ShowCounters() argument
811 for (auto& counters_info : counters) { in ShowCounters()
812 for (auto& counter_info : counters_info.counters) { in ShowCounters()
834 for (const auto& info : counters) { in ShowCounters()