Home
last modified time | relevance | path

Searched refs:histogram (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium/net/socket_stream/
Dsocket_stream_metrics_unittest.cc25 scoped_refptr<Histogram> histogram; in TEST() local
32 "Net.SocketStream.ProtocolType", &histogram)) { in TEST()
33 histogram->SnapshotSample(&original); in TEST()
44 "Net.SocketStream.ProtocolType", &histogram)); in TEST()
45 EXPECT_EQ(Histogram::kUmaTargetedHistogramFlag, histogram->flags()); in TEST()
48 histogram->SnapshotSample(&sample); in TEST()
49 original.Resize(*histogram); // Ensure |original| size is same as |sample|. in TEST()
57 scoped_refptr<Histogram> histogram; in TEST() local
62 "Net.SocketStream.ConnectionType", &histogram)) { in TEST()
63 histogram->SnapshotSample(&original); in TEST()
[all …]
/external/chromium/base/
Dhistogram_unittest.cc22 scoped_refptr<Histogram> histogram = Histogram::FactoryGet( in TEST() local
64 scoped_refptr<Histogram> histogram = Histogram::FactoryGet( in TEST() local
113 scoped_refptr<Histogram> histogram = Histogram::FactoryGet( in TEST() local
116 EXPECT_EQ(0, histogram->ranges(0)); in TEST()
119 EXPECT_EQ(power_of_2, histogram->ranges(i)); in TEST()
122 EXPECT_EQ(INT_MAX, histogram->ranges(8)); in TEST()
174 scoped_refptr<Histogram> histogram = Histogram::FactoryGet( in TEST() local
178 histogram->Add(5); in TEST()
179 histogram->Add(-50); in TEST()
181 histogram->Add(100); in TEST()
[all …]
Dhistogram.cc25 scoped_refptr<Histogram> histogram(NULL); in FactoryGet() local
33 if (StatisticsRecorder::FindHistogram(name, &histogram)) { in FactoryGet()
34 DCHECK(histogram.get() != NULL); in FactoryGet()
36 histogram = new Histogram(name, minimum, maximum, bucket_count); in FactoryGet()
41 registered_histogram.get() != histogram.get()) in FactoryGet()
42 histogram = registered_histogram; in FactoryGet()
45 DCHECK(HISTOGRAM == histogram->histogram_type()); in FactoryGet()
46 DCHECK(histogram->HasConstructorArguments(minimum, maximum, bucket_count)); in FactoryGet()
47 histogram->SetFlags(flags); in FactoryGet()
48 return histogram; in FactoryGet()
[all …]
Dhistogram.h251 void Resize(const Histogram& histogram);
252 void CheckSize(const Histogram& histogram) const;
325 static std::string SerializeHistogramInfo(const Histogram& histogram,
546 static void Register(Histogram* histogram);
560 scoped_refptr<Histogram>* histogram);
Dbase.scons382 'histogram.cc',
383 'histogram.h',
Dbase.gypi85 'histogram.cc',
86 'histogram.h',
/external/chromium/net/disk_cache/
Dstats_histogram.cc17 scoped_refptr<Histogram> histogram(NULL); in StatsHistogramFactoryGet() local
23 if (StatisticsRecorder::FindHistogram(name, &histogram)) { in StatsHistogramFactoryGet()
24 DCHECK(histogram.get() != NULL); in StatsHistogramFactoryGet()
26 histogram = new StatsHistogram(name, minimum, maximum, bucket_count); in StatsHistogramFactoryGet()
30 registered_histogram.get() != histogram.get()) in StatsHistogramFactoryGet()
31 histogram = registered_histogram; in StatsHistogramFactoryGet()
34 DCHECK(HISTOGRAM == histogram->histogram_type()); in StatsHistogramFactoryGet()
35 DCHECK(histogram->HasConstructorArguments(minimum, maximum, bucket_count)); in StatsHistogramFactoryGet()
39 Histogram* temp_histogram = histogram.get(); in StatsHistogramFactoryGet()
/external/jpeg/
Djquant2.c201 hist3d histogram; /* pointer to the histogram */ member
230 register hist3d histogram = cquantize->histogram; in prescan_quantize() local
239 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize()
318 hist3d histogram = cquantize->histogram; in update_box() local
332 histp = & histogram[c0][c1][c2min]; in update_box()
343 histp = & histogram[c0][c1][c2min]; in update_box()
354 histp = & histogram[c0][c1][c2min]; in update_box()
365 histp = & histogram[c0][c1][c2min]; in update_box()
376 histp = & histogram[c0][c1min][c2]; in update_box()
387 histp = & histogram[c0][c1min][c2]; in update_box()
[all …]
/external/webkit/WebKit/android/WebCoreSupport/
DV8Counters.cpp74 void V8Counters::addHistogramSample(void* histogram, int sample) in addHistogramSample() argument
76 Counter* counter = reinterpret_cast<Counter*>(histogram); in addHistogramSample()
DV8Counters.h49 static void addHistogramSample(void* histogram, int sample);
/external/v8/src/
Dcounters.h88 static void AddHistogramSample(void* histogram, int sample) { in AddHistogramSample() argument
90 return add_histogram_sample_function_(histogram, sample); in AddHistogramSample()
Dd8.h45 int32_t* Bind(const char* name, bool histogram);
128 static void AddHistogramSample(void* histogram, int sample);
Dd8.cc397 void Shell::AddHistogramSample(void* histogram, int sample) { in AddHistogramSample() argument
398 Counter* counter = reinterpret_cast<Counter*>(histogram); in AddHistogramSample()
/external/libpng/
Dexample.c294 png_uint_16p histogram = NULL;
296 png_get_hIST(png_ptr, info_ptr, &histogram);
299 max_screen_colors, histogram, 0);
Dpngrtran.c165 int num_palette, int maximum_colors, png_uint_16p histogram, in png_set_dither() argument
186 if (histogram != NULL) in png_set_dither()
217 if (histogram[png_ptr->dither_sort[j]] in png_set_dither()
218 < histogram[png_ptr->dither_sort[j + 1]]) in png_set_dither()
Dlibpng-1.2.46.txt664 hist - histogram of palette (array of
1157 maximum_colors. If there is a histogram, it will use it to make
1159 histogram, it may not do as good a job.
1166 png_uint_16p histogram = NULL;
1169 &histogram);
1171 max_screen_colors, histogram, 1);
1944 hist - histogram of palette (array of
Dlibpng-1.2.44.txt664 hist - histogram of palette (array of
1157 maximum_colors. If there is a histogram, it will use it to make
1159 histogram, it may not do as good a job.
1166 png_uint_16p histogram = NULL;
1169 &histogram);
1171 max_screen_colors, histogram, 1);
1944 hist - histogram of palette (array of
Dpng.h1859 png_uint_16p histogram, int full_dither));
/external/blktrace/btt/doc/
Dbtt.tex404 \item[Q2D Histogram] A display of histogram buckets for the Q to D times
436 \item[\emph{file}\_qhist.dat] Provides histogram data for the size of
439 \item[\emph{file}\_dhist.dat] Provides histogram data for the size
471 \item[unplug histogram details] A data file per device containing
472 histogram output for the amount of IOs released at unplug time.
554 The histogram data files provide information concerning incoming and
555 outgoing IO sizes (in blocks). For simplicity, the histogram buckets
1000 histogram information for \emph{unplug} traces on a per device
/external/chromium/
DAndroid.mk32 base/histogram.cc \
/external/qemu/distrib/libpng-1.2.19/
Dpngrtran.c142 int num_palette, int maximum_colors, png_uint_16p histogram, in png_set_dither() argument
161 if (histogram != NULL) in png_set_dither()
190 if (histogram[png_ptr->dither_sort[j]] in png_set_dither()
191 < histogram[png_ptr->dither_sort[j + 1]]) in png_set_dither()
Dpng.h1663 png_uint_16p histogram, int full_dither));
/external/webkit/JavaScriptCore/pcre/
Dpcre_exec.cpp2173 static Histogram histogram; in ~HistogramTimeLogger() local
2174 histogram.add(m_re, currentTimeMS() - m_startTime); in ~HistogramTimeLogger()
/external/elfutils/
DNEWS451 Add hash table histogram support to readelf.
/external/v8/include/
Dv8.h2129 typedef void (*AddHistogramSampleCallback)(void* histogram, int sample);

12