Lines Matching defs:std
33 size_t PerfCounterValues::Read(const std::vector<int>& leaders) {
42 std::size_t data_bytes = read_bytes - sizeof(uint64_t);
44 std::memmove(ptr, ptr + sizeof(uint64_t), data_bytes);
70 bool PerfCounters::IsCounterSupported(const std::string& name) {
73 std::memset(&attr, 0, sizeof(attr));
75 std::memset(&arg, 0, sizeof(arg));
84 const std::vector<std::string>& counter_names) {
90 std::vector<std::string> valid_names;
91 std::vector<int> counter_ids;
92 std::vector<int> leader_ids;
230 return PerfCounters(std::move(valid_names), std::move(counter_ids),
231 std::move(leader_ids));
246 size_t PerfCounterValues::Read(const std::vector<int>&) { return 0; }
252 bool PerfCounters::IsCounterSupported(const std::string&) { return false; }
255 const std::vector<std::string>& counter_names) {
266 const std::vector<std::string>& counter_names)
275 counter_ids_ = std::move(other.counter_ids_);
276 leader_ids_ = std::move(other.leader_ids_);
277 counter_names_ = std::move(other.counter_names_);