Home | History | Annotate | Download | only in metrics

Lines Matching full:scoped_ptr

9 #include "base/memory/scoped_ptr.h"
39 scoped_ptr<SparseHistogram> NewSparseHistogram(const std::string& name) {
40 return scoped_ptr<SparseHistogram>(new SparseHistogram(name));
47 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse"));
48 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples());
53 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples());
59 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples());
66 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse"));
67 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples());
72 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples());
78 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples());
100 scoped_ptr<HistogramSamples> samples = sparse_histogram->SnapshotSamples();
125 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse"));