Lines Matching refs:snapshot
121 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash()));
124 snapshot->Add(*samples_);
125 return std::move(snapshot);
131 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash()));
133 snapshot->Add(*samples_);
136 snapshot->Subtract(*logged_samples_);
137 logged_samples_->Add(*snapshot);
138 return std::move(snapshot);
145 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash()));
147 snapshot->Add(*samples_);
150 snapshot->Subtract(*logged_samples_);
151 return std::move(snapshot);
230 std::unique_ptr<HistogramSamples> snapshot = SnapshotSamples();
231 Count total_count = snapshot->TotalCount();
243 std::unique_ptr<SampleCountIterator> it = snapshot->Iterator();
258 it = snapshot->Iterator();