HomeSort by relevance Sort by last modified time
    Searched refs:histogram (Results 1 - 25 of 34) sorted by null

1 2

  /external/chromium/net/socket_stream/
socket_stream_metrics_unittest.cc 6 #include "base/metrics/histogram.h"
12 using base::Histogram;
28 Histogram* histogram; local
33 Histogram::SampleSet original;
35 "Net.SocketStream.ProtocolType", &histogram)) {
36 histogram->SnapshotSample(&original);
47 "Net.SocketStream.ProtocolType", &histogram));
48 EXPECT_EQ(Histogram::kUmaTargetedHistogramFlag, histogram->flags())
60 Histogram* histogram; local
94 Histogram* histogram; local
    [all...]
  /external/chromium/base/metrics/
histogram_unittest.cc 5 // Test of Histogram class
7 #include "base/metrics/histogram.h"
21 Histogram* histogram(Histogram::FactoryGet(
22 "TestHistogram", 1, 1000, 10, Histogram::kNoFlags));
23 EXPECT_NE(reinterpret_cast<Histogram*>(NULL), histogram); local
24 Histogram* histogram1(Histogram::FactoryGet
85 EXPECT_NE(reinterpret_cast<Histogram*>(NULL), histogram); local
    [all...]
histogram.cc 5 // Histogram is an object that aggregates statistics, and can summarize them in
10 #include "base/metrics/histogram.h"
25 const uint32 Histogram::kCrcTable[256] = {0x0, 0x77073096L, 0xee0e612cL,
71 typedef Histogram::Count Count;
74 const size_t Histogram::kBucketCount_MAX = 16384u;
76 Histogram* Histogram::FactoryGet(const std::string& name,
81 Histogram* histogram(NULL);
89 if (!StatisticsRecorder::FindHistogram(name, &histogram)) {
    [all...]
histogram.h 5 // Histogram is an object that aggregates statistics, and can summarize them in
15 // That bucket allocation would actually result from construction of a histogram
17 // Histogram count(L"some name", 1, 64, 8);
22 // in each consecutive bucket. The Histogram class automatically calculates
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.
77 static base::Histogram* counter(NULL); \
79 counter = base::Histogram::FactoryGet(name, min, max, bucket_count,
    [all...]
  /external/chromium/net/disk_cache/
stats_histogram.cc 12 using base::Histogram;
26 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);
    [all...]
  /external/e2fsprogs/misc/
e2freefrag.h 19 struct free_chunk_histogram histogram; /* histogram of all chunk sizes*/ member in struct:chunk_info
e2freefrag.c 69 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;
186 if (info->histogram.fc_chunks[i] != 0) {
194 info->histogram.fc_chunks[i],
195 info->histogram.fc_blocks[i],
196 (double)info->histogram.fc_blocks[i] * 100 /
  /external/chromium/chrome/browser/extensions/
extension_metrics_apitest.cc 7 #include "base/metrics/histogram.h"
32 base::Histogram::ClassType type;
37 {"test.h.1", base::Histogram::HISTOGRAM, 1, 100, 50}, // custom
38 {"test.h.2", base::Histogram::LINEAR_HISTOGRAM, 1, 200, 50}, // custom
39 {"test.h.3", base::Histogram::LINEAR_HISTOGRAM, 1, 101, 102}, // percentage
40 {"test.time", base::Histogram::HISTOGRAM, 1, 10000, 50},
41 {"test.medium.time", base::Histogram::HISTOGRAM, 1, 180000, 50}
    [all...]
extension_service.h 455 // Record a histogram using the PermissionMessage enum values for each
460 const Extension* e, const char* histogram);
  /external/webkit/Source/WebKit/android/WebCoreSupport/
V8Counters.h 49 static void addHistogramSample(void* histogram, int sample);
V8Counters.cpp 75 void V8Counters::addHistogramSample(void* histogram, int sample)
77 Counter* counter = reinterpret_cast<Counter*>(histogram);
  /external/chromium/chrome/common/
metrics_helpers.cc 29 using base::Histogram;
193 // 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.
388 // this code. If we moved this into the Histogram class, then we could use
391 const Histogram& histogram,
392 const Histogram::SampleSet& snapshot) {
395 snapshot.CheckSize(histogram);
    [all...]
metrics_helpers.h 17 #include "base/metrics/histogram.h"
57 // Record any changes in a given histogram for transmission.
58 void RecordHistogramDelta(const base::Histogram& histogram,
59 const base::Histogram::SampleSet& snapshot);
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.
192 void TransmitAllHistograms(base::Histogram::Flags flags_to_set,
199 const base::Histogram& histogram,
    [all...]
  /external/jpeg/
jquant2.c 34 * 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:__anon6985
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/webrtc/src/modules/audio_processing/aecm/main/matlab/
hisser2.m 3 % histogram for the binary spectra
7 % blockSize = histogram over blocksize blocks
  /external/webrtc/src/modules/audio_processing/aecm/main/matlab/matlab/
hisser2.m 3 % histogram for the binary spectra
7 % blockSize = histogram over blocksize blocks
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyboardParams.java 169 private static int updateHistogramCounter(Map<Integer, Integer> histogram, Integer key) {
170 final int count = (histogram.containsKey(key) ? histogram.get(key) : 0) + 1;
171 histogram.put(key, count);
  /external/v8/src/
counters.h 50 // 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) {
93 return add_histogram_sample_function_(histogram, sample);
224 // Returns the handle to the histogram.
d8.h 45 int32_t* Bind(const char* name, bool histogram);
129 static void AddHistogramSample(void* histogram, int sample);
d8.cc 401 void Shell::AddHistogramSample(void* histogram, int sample) {
402 Counter* counter = reinterpret_cast<Counter*>(histogram);
  /external/chromium/chrome/browser/net/
url_info.cc 14 #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(
127 base::Histogram::kUmaTargetedHistogramFlag);
128 histogram->AddTime(queue_duration_);
  /external/webkit/Source/WebCore/inspector/front-end/
TimelineOverviewPane.js 549 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/tab_contents/
thumbnail_generator.cc 11 #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/
example.c 294 png_uint_16p histogram = NULL;
296 png_get_hIST(png_ptr, info_ptr, &histogram);
299 max_screen_colors, histogram, 0);
  /external/blktrace/btt/doc/
btt.tex 404 \item[Q2D Histogram] A display of histogram buckets for the Q to D times
410 ==================== Q2D Histogram ====================
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.
552 \newpage\section{\label{sec:hist}Histogram Data Files}
554 The histogram data files provide information concerning incoming and
555 outgoing IO sizes (in blocks). For simplicity, the histogram bucket
    [all...]

Completed in 646 milliseconds

1 2