Lines Matching defs:PerfCounters
47 // The object is used in conjunction with a PerfCounters object, by passing it
65 friend class PerfCounters;
67 // This is used by PerfCounters::Read
88 class BENCHMARK_EXPORT PerfCounters final {
94 static PerfCounters NoCounters() { return PerfCounters(); }
96 ~PerfCounters() { CloseCounters(); }
97 PerfCounters() = default;
98 PerfCounters(PerfCounters&&) = default;
99 PerfCounters(const PerfCounters&) = delete;
100 PerfCounters& operator=(PerfCounters&&) noexcept;
101 PerfCounters& operator=(const PerfCounters&) = delete;
111 // Return a PerfCounters object ready to read the counters with the names
116 static PerfCounters Create(const std::vector<std::string>& counter_names);
135 PerfCounters(const std::vector<std::string>& counter_names,
187 PerfCounters counters_;