Searched refs:histogram (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium/net/socket_stream/
H A Dsocket_stream_metrics_unittest.cc6 #include "base/metrics/histogram.h"
28 Histogram* histogram; local
35 "Net.SocketStream.ProtocolType", &histogram)) {
36 histogram->SnapshotSample(&original);
47 "Net.SocketStream.ProtocolType", &histogram));
48 EXPECT_EQ(Histogram::kUmaTargetedHistogramFlag, histogram->flags());
51 histogram->SnapshotSample(&sample);
52 original.Resize(*histogram); // Ensure |original| size is same as |sample|.
60 Histogram* histogram; local
65 "Net.SocketStream.ConnectionType", &histogram)) {
94 Histogram* histogram; local
[all...]
/external/chromium/base/metrics/
H A Dhistogram_unittest.cc7 #include "base/metrics/histogram.h"
21 Histogram* histogram(Histogram::FactoryGet(
23 EXPECT_NE(reinterpret_cast<Histogram*>(NULL), histogram); local
27 EXPECT_NE(histogram, histogram1);
83 Histogram* histogram(Histogram::FactoryGet(
85 EXPECT_NE(reinterpret_cast<Histogram*>(NULL), histogram); local
157 Histogram* histogram(Histogram::FactoryGet(
160 EXPECT_EQ(0, histogram->ranges(0));
163 EXPECT_EQ(power_of_2, histogram->ranges(i));
166 EXPECT_EQ(INT_MAX, histogram
[all...]
H A Dhistogram.cc10 #include "base/metrics/histogram.h"
81 Histogram* histogram(NULL);
89 if (!StatisticsRecorder::FindHistogram(name, &histogram)) {
98 histogram =
102 DCHECK_EQ(HISTOGRAM, histogram->histogram_type());
103 DCHECK(histogram->HasConstructorArguments(minimum, maximum, bucket_count));
104 return histogram;
139 // The following methods provide a graphical histogram display.
164 // nearly the largest bucket range without sliding over the histogram.
184 // Output the actual histogram grap
212 SerializeHistogramInfo(const Histogram& histogram, const SampleSet& snapshot) argument
674 Resize(const Histogram& histogram) argument
1016 RegisterOrDeleteDuplicate(Histogram* histogram) argument
1094 FindHistogram(const std::string& name, Histogram** histogram) argument
[all...]
H A Dhistogram.h15 // That bucket allocation would actually result from construction of a histogram
28 // at the low end of the histogram scale, but allows the histogram to cover a
32 // pointer to a histogram. This static is explicitly initialized on any thread
60 // Provide easy general purpose histogram in a macro, just like stats counters.
169 // to record histogram data, and have the data submitted/uploaded via UMA.
297 // Indicate that the histogram was pickled to be sent across an IPC Channel.
298 // If we observe this flag on a histogram being aggregated into after IPC,
301 // histogram!).
323 // Statistic values, developed over the life of the histogram
[all...]
/external/chromium/net/disk_cache/
H A Dstats_histogram.cc26 Histogram* histogram(NULL);
32 if (StatisticsRecorder::FindHistogram(name, &histogram)) {
33 DCHECK(histogram != NULL);
40 histogram = StatisticsRecorder::RegisterOrDeleteDuplicate(stats_histogram);
43 DCHECK(HISTOGRAM == histogram->histogram_type());
44 DCHECK(histogram->HasConstructorArguments(minimum, maximum, bucket_count));
48 StatsHistogram* return_histogram = static_cast<StatsHistogram*>(histogram);
/external/e2fsprogs/misc/
H A De2freefrag.h19 struct free_chunk_histogram histogram; /* histogram of all chunk sizes*/ member in struct:chunk_info
H A De2freefrag.c69 info->histogram.fc_chunks[i] = 0;
70 info->histogram.fc_blocks[i] = 0;
81 info->histogram.fc_chunks[index]++;
82 info->histogram.fc_blocks[index] += chunk_size;
187 if (info->histogram.fc_chunks[i] != 0) {
195 info->histogram.fc_chunks[i],
196 info->histogram.fc_blocks[i],
197 (double)info->histogram.fc_blocks[i] * 100 /
/external/webp/src/utils/
H A Dhuffman_encode.h40 int VP8LCreateHuffmanTree(int* const histogram, int tree_depth_limit,
H A Dhuffman_encode.c176 static int GenerateOptimalTree(const int* const histogram, int histogram_size, argument
186 if (histogram[i] != 0) {
211 // So, we try by faking histogram entries to be at least 'count_min'.
215 if (histogram[j] != 0) {
217 (histogram[j] < count_min) ? count_min : histogram[j];
425 int VP8LCreateHuffmanTree(int* const histogram, int tree_depth_limit, argument
428 if (!OptimizeHuffmanForRle(num_symbols, histogram)) {
431 if (!GenerateOptimalTree(histogram, num_symbols,
/external/chromium/chrome/browser/extensions/
H A Dextension_metrics_apitest.cc7 #include "base/metrics/histogram.h"
116 // Code other than the tests tun here will record some histogram values, but
117 // we will ignore those. This function validates that all the histogram we
126 base::Histogram* histogram(histograms[j]);
128 if (name == histogram->histogram_name()) {
129 EXPECT_EQ(r.type, histogram->histogram_type());
130 EXPECT_EQ(r.min, histogram->declared_min());
131 EXPECT_EQ(r.max, histogram->declared_max());
132 EXPECT_EQ(r.buckets, histogram->bucket_count());
H A Dextension_service.h455 // Record a histogram using the PermissionMessage enum values for each
460 const Extension* e, const char* histogram);
/external/chromium/chrome/common/
H A Dmetrics_helpers.cc193 // The following log is VERY helpful when folks add some named histogram into
195 // that happens, all we get to see (server side) is a hash of the histogram
196 // name. We can then use this logging to find out what histogram name was
386 // TODO(JAR): A The following should really be part of the histogram class.
391 const Histogram& histogram,
395 snapshot.CheckSize(histogram);
399 OPEN_ELEMENT_FOR_SCOPE("histogram");
401 WriteAttribute("name", CreateBase64Hash(histogram.histogram_name()));
407 for (size_t i = 0; i < histogram.bucket_count(); i++) {
410 WriteIntAttribute("min", histogram
390 RecordHistogramDelta( const Histogram& histogram, const Histogram::SampleSet& snapshot) argument
488 TransmitHistogramDelta( const base::Histogram& histogram, const base::Histogram::SampleSet& snapshot) argument
528 TransmitHistogram(const Histogram& histogram) argument
[all...]
H A Dmetrics_helpers.h17 #include "base/metrics/histogram.h"
57 // Record any changes in a given histogram for transmission.
58 void RecordHistogramDelta(const base::Histogram& histogram,
182 // calling for the marginal change (a.k.a., delta) in a histogram to be sent
191 // transmission, or to set a flag in each transmitted histogram.
199 const base::Histogram& histogram,
208 // Maintain a map of histogram names to the sample stats we've sent.
213 // Snapshot this histogram, and transmit the delta.
214 void TransmitHistogram(const base::Histogram& histogram);
217 // histogram) s
[all...]
/external/jpeg/
H A Djquant2.c34 * In the first pass over the image, we accumulate a histogram showing the
35 * usage count of each possible color. To keep the histogram to a reasonable
38 * in the same histogram cell.
81 * you'll probably want to tweak the histogram sizes too.
102 * First we have the histogram data structure and routines for creating it.
109 * To maintain a fully accurate histogram, we'd need to allocate a "long"
113 * enough results. This reduces the recommended histogram size from 256Kb
115 * (In the second pass the histogram space is re-used for pixel mapping data;
119 * machines, we can't just allocate the histogram in one chunk. Instead
132 #define HIST_C0_BITS 5 /* bits of precision in R/B histogram */
201 hist3d histogram; /* pointer to the histogram */ member in struct:__anon7450
230 register hist3d histogram = cquantize->histogram; local
318 hist3d histogram = cquantize->histogram; local
505 hist3d histogram = cquantize->histogram; local
861 hist3d histogram = cquantize->histogram; local
920 hist3d histogram = cquantize->histogram; local
954 hist3d histogram = cquantize->histogram; local
1170 hist3d histogram = cquantize->histogram; local
[all...]
/external/qemu/distrib/jpeg-6b/
H A Djquant2.c34 * In the first pass over the image, we accumulate a histogram showing the
35 * usage count of each possible color. To keep the histogram to a reasonable
38 * in the same histogram cell.
81 * you'll probably want to tweak the histogram sizes too.
102 * First we have the histogram data structure and routines for creating it.
109 * To maintain a fully accurate histogram, we'd need to allocate a "long"
113 * enough results. This reduces the recommended histogram size from 256Kb
115 * (In the second pass the histogram space is re-used for pixel mapping data;
119 * machines, we can't just allocate the histogram in one chunk. Instead
132 #define HIST_C0_BITS 5 /* bits of precision in R/B histogram */
201 hist3d histogram; /* pointer to the histogram */ member in struct:__anon11297
230 register hist3d histogram = cquantize->histogram; local
318 hist3d histogram = cquantize->histogram; local
505 hist3d histogram = cquantize->histogram; local
861 hist3d histogram = cquantize->histogram; local
920 hist3d histogram = cquantize->histogram; local
954 hist3d histogram = cquantize->histogram; local
1170 hist3d histogram = cquantize->histogram; local
[all...]
/external/libvorbis/vq/
H A Dmetrics.c44 float **histogram=NULL; variable
63 histogram=_ogg_calloc(books,sizeof(float *));
75 histogram[i]=_ogg_calloc(b->entries,sizeof(float));
169 sqrt((histogram_errorsq[book]+i*dim)[k]/histogram[book][i]));
185 (histogram_error[book]+i*dim)[k]/histogram[book][i]);
241 histogram[book][entry]++;
253 if(histogram[book][entry]==0 || histogram_hi[book][entry*dim+j]<error)
255 if(histogram[book][entry]==0 || histogram_lo[book][entry*dim+j]>error)
/external/v8/src/
H A Dcounters.h50 // a histogram for passing to the AddHistogramSample function
56 // to a histogram created with CreateHistogram function
76 // Create a histogram by name. If the create is successful,
89 // Add a sample to a histogram created with the CreateHistogram
91 void AddHistogramSample(void* histogram, int sample) { argument
93 return add_histogram_sample_function_(histogram, sample);
224 // Returns the handle to the histogram.
H A Dd8.h48 int32_t* Bind(const char* name, bool histogram);
288 static void AddHistogramSample(void* histogram, int sample);
/external/chromium/chrome/browser/net/
H A Durl_info.cc14 #include "base/metrics/histogram.h"
121 // Make a custom linear histogram for the region from 0 to boundary.
123 static base::Histogram* histogram(NULL);
124 if (!histogram)
125 histogram = base::LinearHistogram::FactoryTimeGet(
128 histogram->AddTime(queue_duration_);
/external/webkit/Source/WebCore/inspector/front-end/
H A 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/webp/src/enc/
H A DAndroid.mk26 histogram.c \
H A Dvp8l.c323 int histogram[CODE_LENGTH_CODES] = { 0 }; local
326 ++histogram[tokens[i].code];
329 if (!VP8LCreateHuffmanTree(histogram, 7, &huffman_code)) {
485 // Build histogram image and symbols from backward references.
488 // Create Huffman bit lengths and codes for each histogram image.
550 // Build histogram image and symbols from backward references.
557 // Create Huffman bit lengths and codes for each histogram image.
/external/chromium/chrome/browser/tab_contents/
H A Dthumbnail_generator.cc11 #include "base/metrics/histogram.h"
381 int histogram[256] = {0}; local
382 color_utils::BuildLumaHistogram(bitmap, histogram);
384 int color_count = *std::max_element(histogram, histogram + 256);
/external/libpng/
H A Dexample.c294 png_uint_16p histogram = NULL;
296 png_get_hIST(png_ptr, info_ptr, &histogram);
299 max_screen_colors, histogram, 0);
/external/blktrace/btt/doc/
H A 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

Completed in 4256 milliseconds

12