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

1 2 3

  /external/webrtc/webrtc/modules/audio_processing/agc/
histogram.h 21 // This class implements the histogram of loudness with circular buffers so that
22 // the histogram tracks the last T seconds of the loudness.
23 class Histogram {
25 // Create a non-sliding Histogram.
26 static Histogram* Create();
28 // Create a sliding Histogram, i.e. the histogram represents the last
30 static Histogram* Create(int window_size);
31 ~Histogram();
36 // Reset the histogram, forget the past
    [all...]
agc.h 21 class Histogram;
51 rtc::scoped_ptr<Histogram> histogram_;
52 rtc::scoped_ptr<Histogram> inactive_histogram_;
histogram.cc 11 #include "webrtc/modules/audio_processing/agc/histogram.h"
61 Histogram::Histogram()
73 "histogram bin centers incorrect size");
76 Histogram::Histogram(int window_size)
87 Histogram::~Histogram() {}
89 void Histogram::Update(double rms, double activity_probaility) {
90 // If circular histogram is activated then remove the oldest entry
    [all...]
histogram_unittest.cc 13 #include "webrtc/modules/audio_processing/agc/histogram.h"
40 rtc::scoped_ptr<Histogram> hist_;
55 hist_.reset(Histogram::Create(buffer_size));
57 hist_.reset(Histogram::Create());
agc.cc 20 #include "webrtc/modules/audio_processing/agc/histogram.h"
36 histogram_(Histogram::Create(kNumAnalysisFrames)),
37 inactive_histogram_(Histogram::Create()) {
  /external/webrtc/webrtc/system_wrappers/source/
metrics_default.cc 12 // Default implementation of histogram methods for WebRTC clients that do not
18 Histogram* HistogramFactoryGetCounts(const std::string& name, int min, int max,
21 Histogram* HistogramFactoryGetEnumeration(const std::string& name,
25 Histogram* histogram_pointer, const std::string& name, int sample) {}
  /external/webrtc/webrtc/system_wrappers/include/
metrics.h 23 // Histogram for counters.
26 // Histogram for enumerators.
37 // Histogram* webrtc::metrics::HistogramFactoryGetCounts(
40 // Histogram* webrtc::metrics::HistogramFactoryGetEnumeration(
43 // Histogram* histogram_pointer, const std::string& name, int sample);
62 // Macros for adding samples to a named histogram.
64 // Histogram for counters (exponentially spaced buckets).
105 // Histogram for percentage (evenly spaced buckets).
114 // Histogram for enumerators (evenly spaced buckets).
126 // The name of the histogram should not vary
    [all...]
  /art/runtime/base/
histogram_test.cc 21 #include "histogram-inl.h"
26 // Histogram *hist(new Histogram("SimplePercentiles"));
37 std::unique_ptr<Histogram<uint64_t>> hist(new Histogram<uint64_t>("MeanTest", 5));
55 std::unique_ptr<Histogram<uint64_t>> hist(new Histogram<uint64_t>("VarianceTest", 5));
67 std::unique_ptr<Histogram<uint64_t>> hist(new Histogram<uint64_t>("Percentile", 5));
68 Histogram<uint64_t>::CumulativeData data
    [all...]
histogram-inl.h 25 #include "histogram.h"
33 template <class Value> inline void Histogram<Value>::AddValue(Value value) {
43 template <class Value> inline void Histogram<Value>::AdjustAndAddValue(Value value) {
47 template <class Value> inline Histogram<Value>::Histogram(const char* name)
55 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width,
66 inline void Histogram<Value>::GrowBuckets(Value new_max) {
88 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const {
89 // Since this is only a linear histogram, bucket index can be found simply wit
    [all...]
histogram.h 26 // Creates a data histogram for a better understanding of statistical data.
27 // Histogram analysis goes beyond simple mean and standard deviation to provide
31 template <class Value> class Histogram {
37 friend class Histogram<Value>;
42 // Used by the cumulative timing logger to search the histogram set using for an existing split
44 explicit Histogram(const char* name);
46 Histogram(const char* name, Value initial_bucket_width, size_t max_buckets = 100);
100 // Add more buckets to the histogram to fill in a new value that exceeded
106 // Number of samples placed in histogram.
109 // histogram percentiles are. Grows adaptively when we hit max buckets
    [all...]
timing_logger.cc 24 #include "base/histogram-inl.h"
95 Histogram<uint64_t>* histogram; local
96 Histogram<uint64_t> dummy(label.c_str());
101 histogram = new Histogram<uint64_t>(label.c_str(), kInitialBucketSize, max_buckets);
102 histograms_.insert(histogram);
104 histogram = *it;
106 histogram->AddValue(delta_time);
111 bool operator()(const Histogram<uint64_t>* a, const Histogram<uint64_t>* b) const
    [all...]
timing_logger.h 20 #include "base/histogram.h"
51 bool operator()(const Histogram<uint64_t>* a, const Histogram<uint64_t>* b) const {
67 std::set<Histogram<uint64_t>*, HistogramComparator> histograms_ GUARDED_BY(lock_);
  /external/libchrome/base/metrics/
histogram_unittest.cc 5 #include "base/metrics/histogram.h"
30 // Each test will have a clean state (no Histogram / BucketRanges
52 HistogramBase* histogram = Histogram::FactoryGet( local
54 EXPECT_TRUE(histogram);
79 HistogramBase* histogram = LinearHistogram::FactoryGet( local
82 scoped_ptr<HistogramSamples> samples = histogram->SnapshotSamples();
90 Histogram::InitializeBucketRanges(1, 64, &ranges);
99 // Check the corresponding Histogram will use the correct ranges.
100 Histogram* histogram = static_cast<Histogram*> local
141 Histogram* histogram = static_cast<Histogram*>( local
179 Histogram* histogram = static_cast<Histogram*>( local
228 Histogram* histogram = static_cast<Histogram*>( local
241 Histogram* histogram = static_cast<Histogram*>( local
265 Histogram* histogram = static_cast<Histogram*>( local
312 Histogram* histogram = static_cast<Histogram*>( local
331 Histogram* histogram = static_cast<Histogram*>( local
358 Histogram* histogram = static_cast<Histogram*>( local
393 Histogram* histogram = static_cast<Histogram*>( local
468 HistogramBase* histogram = Histogram::FactoryGet( local
499 HistogramBase* histogram = Histogram::FactoryGet( local
    [all...]
statistics_recorder_unittest.cc 23 // Each test will have a clean state (no Histogram / BucketRanges
39 Histogram* CreateHistogram(const std::string& name,
44 Histogram::InitializeBucketRanges(min, max, ranges);
47 return new Histogram(name, min, max, registered_ranges);
50 void DeleteHistogram(HistogramBase* histogram) {
51 delete histogram;
68 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local
71 EXPECT_EQ(histogram,
72 StatisticsRecorder::RegisterOrDeleteDuplicate(histogram));
125 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); local
181 HistogramBase* histogram = Histogram::FactoryGet( local
223 HistogramBase* histogram = Histogram::FactoryGet( local
353 HistogramBase* histogram = Histogram::FactoryGet("TestHistogram", 1, 1000, 10, local
380 HistogramBase* histogram = Histogram::FactoryGet("TestHistogram", 1, 1000, 10, local
404 HistogramBase* histogram = Histogram::FactoryGet( local
483 HistogramBase* histogram = Histogram::FactoryGet("TestHistogram", 1, 1000, 10, local
    [all...]
histogram.cc 5 // Histogram is an object that aggregates statistics, and can summarize them in
10 #include "base/metrics/histogram.h"
48 DLOG(ERROR) << "Pickle error decoding Histogram: " << *histogram_name;
53 // checks above and beyond those in Histogram::Initialize()
59 DLOG(ERROR) << "Values error decoding Histogram: " << histogram_name;
63 // We use the arguments to find or create the local version of the histogram
71 bool ValidateRangeChecksum(const HistogramBase& histogram,
73 const Histogram& casted_histogram =
74 static_cast<const Histogram&>(histogram);
96 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
390 HistogramBase* histogram = Histogram::FactoryGet( local
597 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
696 HistogramBase* histogram = LinearHistogram::FactoryGet( local
711 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
756 HistogramBase* histogram = BooleanHistogram::FactoryGet( local
775 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name); local
868 HistogramBase* histogram = CustomHistogram::FactoryGet( local
    [all...]
histogram.h 5 // Histogram is an object that aggregates statistics, and can summarize them in
12 // For Histogram(exponential histogram), LinearHistogram and CustomHistogram,
20 // Each use of a histogram with the same name will reference the same underlying
21 // data, so it is safe to record to the same histogram from multiple locations
22 // in the code. It is a runtime error if all uses of the same histogram do not
25 // For Histogram and LinearHistogram, the maximum for a declared range should
32 // (Histogram::kBucketCount_MAX - 1).
34 // The buckets layout of class Histogram is exponential. For example, buckets
37 // That bucket allocation would actually result from construction of a histogram
    [all...]
histogram_macros.h 10 #include "base/metrics/histogram.h"
17 // the macros declare a static pointer to the histogram in question, and only
18 // take a "slow path" to construct (or find) the histogram on the first run
24 // initialization looks like for a histogram (after a macro is expanded). This
35 // in the histogram.
36 base::Histogram* histogram_pointer(reinterpret_cast<base::Histogram*>(
41 // histogram. FactoryGet includes locks on a global histogram name map
43 histogram_pointer = base::Histogram::FactoryGet
    [all...]
histogram_snapshot_manager.cc 39 void HistogramSnapshotManager::PrepareDelta(const HistogramBase& histogram) {
43 scoped_ptr<HistogramSamples> snapshot(histogram.SnapshotSamples());
48 int corruption = histogram.FindCorruption(*snapshot);
60 const uint64_t histogram_hash = histogram.name_hash();
62 DLOG(ERROR) << "Histogram: " << histogram.histogram_name()
69 return; // We've already seen this corruption for this histogram.
81 // This histogram has not been logged before, add a new entry.
92 histogram_flattener_->RecordDelta(histogram, *to_log);
104 if (discrepancy > Histogram::kCommonRaceBasedCountMismatch)
    [all...]
  /external/webrtc/webrtc/test/
histogram.cc 11 #include "webrtc/test/histogram.h"
20 // Test implementation of histogram methods in
33 // Map holding info about added samples to a histogram (mapped by the histogram
39 Histogram* HistogramFactoryGetCounts(const std::string& name, int min, int max,
46 return reinterpret_cast<Histogram*>(&it->second);
49 Histogram* HistogramFactoryGetEnumeration(const std::string& name,
56 return reinterpret_cast<Histogram*>(&it->second);
60 Histogram* histogram_pointer, const std::string& name, int sample) {
  /system/core/metricsd/uploader/
bn_metricsd_impl.cc 19 #include <base/metrics/histogram.h>
40 base::HistogramBase* histogram = base::Histogram::FactoryGet( local
42 base::Histogram::kUmaTargetedHistogramFlag);
43 // |histogram| may be null if a client reports two contradicting histograms
46 if (histogram) {
47 histogram->Add(sample);
55 base::HistogramBase* histogram = base::LinearHistogram::FactoryGet( local
57 base::Histogram::kUmaTargetedHistogramFlag);
58 // |histogram| may be null if a client reports two contradicting histogram
68 base::HistogramBase* histogram = base::SparseHistogram::FactoryGet( local
    [all...]
  /external/v8/src/
counters.cc 25 void Histogram::AddSample(int sample) {
31 void* Histogram::CreateHistogram() const {
62 name##_ = Histogram(#caption, min, max, num_buckets, isolate);
77 name##_ = Histogram(#caption, 0, 101, 100, isolate);
82 // Exponential histogram assigns bucket limits to points
89 name##_ = Histogram(#caption, 1000, 500000, 50, isolate);
94 name##_ = Histogram(#caption, 4000, 2000000, 100, isolate);
99 aggregated_##name##_ = AggregatedMemoryHistogram<Histogram>(&name##_);
counters.h 31 // a histogram for passing to the AddHistogramSample function
37 // to a histogram created with CreateHistogram function
57 // Create a histogram by name. If the create is successful,
70 // Add a sample to a histogram created with the CreateHistogram
72 void AddHistogramSample(void* histogram, int sample) {
74 return add_histogram_sample_function_(histogram, sample);
168 // A Histogram represents a dynamically created histogram in the StatsTable.
169 // It will be registered with the histogram system on first use.
170 class Histogram {
    [all...]
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Histogram.java 24 public class Histogram extends TestBase {
31 public Histogram(boolean useIntrisic) {
IPTestListJB.java 79 HISTOGRAM_SCRIPT ("Histogram script", RELAXED_FP, 20.f),
80 HISTOGRAM_INTRINSIC ("Histogram intrinsic", INTRINSIC, 18.f);
195 return new Histogram(false);
197 return new Histogram(true);
  /art/runtime/
leb128_test.cc 20 #include "base/histogram-inl.h"
276 std::unique_ptr<Histogram<uint64_t>> enc_hist(new Histogram<uint64_t>("Leb128EncodeSpeedTest", 5));
277 std::unique_ptr<Histogram<uint64_t>> dec_hist(new Histogram<uint64_t>("Leb128DecodeSpeedTest", 5));
301 Histogram<uint64_t>::CumulativeData enc_data;
305 Histogram<uint64_t>::CumulativeData dec_data;

Completed in 474 milliseconds

1 2 3