Lines Matching refs:counters
439 void AdjustToIntervalOnlyValues(std::vector<CountersInfo>& counters);
440 bool ShowCounters(const std::vector<CountersInfo>& counters, double duration_in_sec, FILE* fp);
563 std::vector<CountersInfo> counters; in Run() local
583 if (!event_selection_set_.ReadCounters(&counters)) { in Run()
589 AdjustToIntervalOnlyValues(counters); in Run()
591 if (!ShowCounters(counters, duration_in_sec, fp)) { in Run()
782 void StatCommand::AdjustToIntervalOnlyValues(std::vector<CountersInfo>& counters) { in AdjustToIntervalOnlyValues() argument
783 if (last_sum_values_.size() < counters.size()) { in AdjustToIntervalOnlyValues()
784 last_sum_values_.resize(counters.size()); in AdjustToIntervalOnlyValues()
786 for (size_t i = 0; i < counters.size(); i++) { in AdjustToIntervalOnlyValues()
787 std::vector<CounterInfo>& counters_per_event = counters[i].counters; in AdjustToIntervalOnlyValues()
804 bool StatCommand::ShowCounters(const std::vector<CountersInfo>& counters, double duration_in_sec, in ShowCounters() argument
813 for (auto& counters_info : counters) { in ShowCounters()
814 for (auto& counter_info : counters_info.counters) { in ShowCounters()
836 for (const auto& info : counters) { in ShowCounters()