Home
last modified time | relevance | path

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

1234

/external/chromium/net/socket_stream/
Dsocket_stream_metrics_unittest.cc28 Histogram* histogram; in TEST() local
35 "Net.SocketStream.ProtocolType", &histogram)) { in TEST()
36 histogram->SnapshotSample(&original); in TEST()
47 "Net.SocketStream.ProtocolType", &histogram)); in TEST()
48 EXPECT_EQ(Histogram::kUmaTargetedHistogramFlag, histogram->flags()); in TEST()
51 histogram->SnapshotSample(&sample); in TEST()
52 original.Resize(*histogram); // Ensure |original| size is same as |sample|. in TEST()
60 Histogram* histogram; in TEST() local
65 "Net.SocketStream.ConnectionType", &histogram)) { in TEST()
66 histogram->SnapshotSample(&original); in TEST()
[all …]
/external/chromium/base/metrics/
Dhistogram_unittest.cc21 Histogram* histogram(Histogram::FactoryGet( in TEST() local
23 EXPECT_NE(reinterpret_cast<Histogram*>(NULL), histogram); in TEST()
27 EXPECT_NE(histogram, histogram1); in TEST()
83 Histogram* histogram(Histogram::FactoryGet( in TEST() local
85 EXPECT_NE(reinterpret_cast<Histogram*>(NULL), histogram); in TEST()
157 Histogram* histogram(Histogram::FactoryGet( in TEST() local
160 EXPECT_EQ(0, histogram->ranges(0)); in TEST()
163 EXPECT_EQ(power_of_2, histogram->ranges(i)); in TEST()
166 EXPECT_EQ(INT_MAX, histogram->ranges(8)); in TEST()
272 Histogram* histogram(Histogram::FactoryGet( in TEST() local
[all …]
Dhistogram.cc81 Histogram* histogram(NULL); in FactoryGet() local
89 if (!StatisticsRecorder::FindHistogram(name, &histogram)) { in FactoryGet()
98 histogram = in FactoryGet()
102 DCHECK_EQ(HISTOGRAM, histogram->histogram_type()); in FactoryGet()
103 DCHECK(histogram->HasConstructorArguments(minimum, maximum, bucket_count)); in FactoryGet()
104 return histogram; in FactoryGet()
212 std::string Histogram::SerializeHistogramInfo(const Histogram& histogram, in SerializeHistogramInfo() argument
214 DCHECK_NE(NOT_VALID_IN_RENDERER, histogram.histogram_type()); in SerializeHistogramInfo()
217 pickle.WriteString(histogram.histogram_name()); in SerializeHistogramInfo()
218 pickle.WriteInt(histogram.declared_min()); in SerializeHistogramInfo()
[all …]
Dhistogram.h331 void Resize(const Histogram& histogram);
332 void CheckSize(const Histogram& histogram) const;
422 static std::string SerializeHistogramInfo(const Histogram& histogram,
698 static Histogram* RegisterOrDeleteDuplicate(Histogram* histogram);
712 static bool FindHistogram(const std::string& query, Histogram** histogram);
/external/chromium/net/disk_cache/
Dstats_histogram.cc26 Histogram* histogram(NULL); in StatsHistogramFactoryGet() local
32 if (StatisticsRecorder::FindHistogram(name, &histogram)) { in StatsHistogramFactoryGet()
33 DCHECK(histogram != NULL); in StatsHistogramFactoryGet()
40 histogram = StatisticsRecorder::RegisterOrDeleteDuplicate(stats_histogram); in StatsHistogramFactoryGet()
43 DCHECK(HISTOGRAM == histogram->histogram_type()); in StatsHistogramFactoryGet()
44 DCHECK(histogram->HasConstructorArguments(minimum, maximum, bucket_count)); in StatsHistogramFactoryGet()
48 StatsHistogram* return_histogram = static_cast<StatsHistogram*>(histogram); in StatsHistogramFactoryGet()
/external/chromium/chrome/common/
Dmetrics_helpers.cc391 const Histogram& histogram, in RecordHistogramDelta() argument
395 snapshot.CheckSize(histogram); in RecordHistogramDelta()
401 WriteAttribute("name", CreateBase64Hash(histogram.histogram_name())); in RecordHistogramDelta()
407 for (size_t i = 0; i < histogram.bucket_count(); i++) { in RecordHistogramDelta()
410 WriteIntAttribute("min", histogram.ranges(i)); in RecordHistogramDelta()
411 WriteIntAttribute("max", histogram.ranges(i + 1)); in RecordHistogramDelta()
489 const base::Histogram& histogram, in TransmitHistogramDelta() argument
491 current_log_->RecordHistogramDelta(histogram, snapshot); in TransmitHistogramDelta()
528 void HistogramSender::TransmitHistogram(const Histogram& histogram) { in TransmitHistogram() argument
531 histogram.SnapshotSample(&snapshot); in TransmitHistogram()
[all …]
Dmetrics_helpers.h58 void RecordHistogramDelta(const base::Histogram& histogram,
199 const base::Histogram& histogram,
214 void TransmitHistogram(const base::Histogram& histogram);
266 const base::Histogram& histogram,
/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/qemu/distrib/jpeg-6b/
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/chromium/chrome/browser/extensions/
Dextension_metrics_apitest.cc126 base::Histogram* histogram(histograms[j]); in ValidateHistograms() local
128 if (name == histogram->histogram_name()) { in ValidateHistograms()
129 EXPECT_EQ(r.type, histogram->histogram_type()); in ValidateHistograms()
130 EXPECT_EQ(r.min, histogram->declared_min()); in ValidateHistograms()
131 EXPECT_EQ(r.max, histogram->declared_max()); in ValidateHistograms()
132 EXPECT_EQ(r.buckets, histogram->bucket_count()); in ValidateHistograms()
/external/e2fsprogs/misc/
De2freefrag.c69 info->histogram.fc_chunks[i] = 0; in init_chunk_info()
70 info->histogram.fc_blocks[i] = 0; in init_chunk_info()
81 info->histogram.fc_chunks[index]++; in update_chunk_stats()
82 info->histogram.fc_blocks[index] += chunk_size; in update_chunk_stats()
187 if (info->histogram.fc_chunks[i] != 0) { in get_chunk_info()
195 info->histogram.fc_chunks[i], in get_chunk_info()
196 info->histogram.fc_blocks[i], in get_chunk_info()
197 (double)info->histogram.fc_blocks[i] * 100 / in get_chunk_info()
De2freefrag.h19 struct free_chunk_histogram histogram; /* histogram of all chunk sizes*/ member
/external/webp/src/utils/
Dhuffman_encode.c176 static int GenerateOptimalTree(const int* const histogram, int histogram_size, in GenerateOptimalTree() argument
186 if (histogram[i] != 0) { in GenerateOptimalTree()
215 if (histogram[j] != 0) { in GenerateOptimalTree()
217 (histogram[j] < count_min) ? count_min : histogram[j]; in GenerateOptimalTree()
425 int VP8LCreateHuffmanTree(int* const histogram, int tree_depth_limit, in VP8LCreateHuffmanTree() argument
428 if (!OptimizeHuffmanForRle(num_symbols, histogram)) { in VP8LCreateHuffmanTree()
431 if (!GenerateOptimalTree(histogram, num_symbols, in VP8LCreateHuffmanTree()
Dhuffman_encode.h40 int VP8LCreateHuffmanTree(int* const histogram, int tree_depth_limit,
/external/libvorbis/vq/
Dmetrics.c44 float **histogram=NULL; variable
63 histogram=_ogg_calloc(books,sizeof(float *)); in process_preprocess()
75 histogram[i]=_ogg_calloc(b->entries,sizeof(float)); in process_preprocess()
169 sqrt((histogram_errorsq[book]+i*dim)[k]/histogram[book][i])); in process_postprocess()
185 (histogram_error[book]+i*dim)[k]/histogram[book][i]); in process_postprocess()
241 histogram[book][entry]++; in process_one()
253 if(histogram[book][entry]==0 || histogram_hi[book][entry*dim+j]<error) in process_one()
255 if(histogram[book][entry]==0 || histogram_lo[book][entry*dim+j]>error) in process_one()
/external/webkit/Source/WebCore/inspector/front-end/
DTimelineOverviewPane.js549 var histogram = new Array(width);
555 histogram[x] = Math.max(histogram[x] || 0, y);
566 for (var k = 0; k < histogram.length; k++) {
567 if (histogram[k]) {
568 initialY = histogram[k];
574 for (var x = 0; x < histogram.length; x++) {
575 if (!histogram[x])
577 ctx.lineTo(x, height - histogram[x]);
/external/chromium/chrome/browser/net/
Durl_info.cc123 static base::Histogram* histogram(NULL); in RemoveFromQueue() local
124 if (!histogram) in RemoveFromQueue()
125 histogram = base::LinearHistogram::FactoryTimeGet( in RemoveFromQueue()
128 histogram->AddTime(queue_duration_); in RemoveFromQueue()
/external/v8/src/
Dcounters.h91 void AddHistogramSample(void* histogram, int sample) { in AddHistogramSample() argument
93 return add_histogram_sample_function_(histogram, sample); in AddHistogramSample()
Dd8.h48 int32_t* Bind(const char* name, bool histogram);
288 static void AddHistogramSample(void* histogram, int sample);
/external/chromium/chrome/browser/tab_contents/
Dthumbnail_generator.cc381 int histogram[256] = {0}; in CalculateBoringScore() local
382 color_utils::BuildLumaHistogram(bitmap, histogram); in CalculateBoringScore()
384 int color_count = *std::max_element(histogram, histogram + 256); in CalculateBoringScore()
/external/chromium/chrome/browser/
Dchrome_browser_application_mac_unittest.mm7 #include "base/metrics/histogram.h"
43 // Start up a histogram recorder.
/external/llvm/test/Transforms/LoopVectorize/
Dincrement.ll42 ;CHECK: @histogram
45 define i32 @histogram(i32* nocapture noalias %A, i32* nocapture noalias %B, i32 %n) nounwind uwtabl…
/external/libpng/
Dexample.c294 png_uint_16p histogram = NULL;
296 png_get_hIST(png_ptr, info_ptr, &histogram);
299 max_screen_colors, histogram, 0);
/external/webp/src/enc/
DAndroid.mk26 histogram.c \
/external/chromium/chrome/browser/ui/cocoa/
Dexternal_protocol_dialog.mm8 #include "base/metrics/histogram.h"

1234