Home
last modified time | relevance | path

Searched refs:PerfCounterValues (Results 1 – 3 of 3) sorted by relevance

/third_party/benchmark/test/
Dperf_counters_gtest.cc17 using benchmark::internal::PerfCounterValues;
91 PerfCounterValues values1(1); in TEST()
94 PerfCounterValues values2(1); in TEST()
108 PerfCounterValues values1(2); in TEST()
112 PerfCounterValues values2(2); in TEST()
130 PerfCounterValues values(1); in TEST()
215 void measure(size_t threadcount, PerfCounterValues* before, in measure()
216 PerfCounterValues* after) { in measure()
240 PerfCounterValues before(2); in TEST()
241 PerfCounterValues after(2); in TEST()
/third_party/benchmark/src/
Dperf_counters.h51 class BENCHMARK_EXPORT PerfCounterValues {
53 explicit PerfCounterValues(size_t nr_counters) : nr_counters_(nr_counters) { in PerfCounterValues() function
121 BENCHMARK_ALWAYS_INLINE bool Snapshot(PerfCounterValues* values) const { in Snapshot()
189 PerfCounterValues start_values_;
190 PerfCounterValues end_values_;
Dperf_counters.cc29 constexpr size_t PerfCounterValues::kMaxCounters;
33 size_t PerfCounterValues::Read(const std::vector<int>& leaders) { in Read()
110 if (valid_names.size() == PerfCounterValues::kMaxCounters) { in Create()
114 << PerfCounterValues::kMaxCounters << " and " << valid_names.size() in Create()
246 size_t PerfCounterValues::Read(const std::vector<int>&) { return 0; } in Read()