/system/update_engine/scripts/update_payload/ |
histogram.py | 5 """Histogram generation tools.""" 12 class Histogram(object): 13 """A histogram generating object. 16 ASCII histogram, including bars and percentage markers, and taking care of 19 in different formats into a histogram. Histogram generation is exported via 31 """Initialize a histogram object. 34 data: list of (key, count) pairs constituting the histogram 36 formatter: function used for formatting raw histogram values 47 """Takes a dictionary of counts and returns a histogram object [all...] |
/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...] |
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...] |
/external/v8/tools/ |
eval_gc_nvp.py | 46 class Histogram: 48 self.histogram = {} 54 if index not in self.histogram: 55 self.histogram[index] = 0 56 self.histogram[index] += 1 60 keys = self.histogram.keys() 68 str(min_value), str(max_value), self.histogram[i])) 77 def __init__(self, key, histogram, csv, percentiles): 80 self.histogram = histogram [all...] |
/art/runtime/base/ |
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...] |
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) 56 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width, 67 inline void Histogram<Value>::GrowBuckets(Value new_max) { 89 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const { 90 // Since this is only a linear histogram, bucket index can be found simply wit [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
_bitmap.py | 7 tools: crop, find bounding box of a color and compute histogram of color values. 27 HISTOGRAM = 1 65 def Histogram(self, ignore_color, tolerance): 67 response = self._RunCommand(_BitmapTools.HISTOGRAM, 240 return self._PrepareTools().Histogram(ignore_color, tolerance)
|
bitmaptools.cc | 16 HISTOGRAM = 1, 169 bool Histogram(const Bitmap& bmp) { 173 fprintf(stderr, "Could not parse HISTOGRAM command.\n"); 256 case HISTOGRAM: 257 if (!Histogram(bmp)) return -1;
|
/external/libchrome/base/metrics/ |
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.cc | 5 // Histogram is an object that aggregates statistics, and can summarize them in 10 #include "base/metrics/histogram.h" 51 DLOG(ERROR) << "Pickle error decoding Histogram: " << *histogram_name; 56 // checks above and beyond those in Histogram::Initialize() 62 DLOG(ERROR) << "Values error decoding Histogram: " << histogram_name; 66 // We use the arguments to find or create the local version of the histogram 73 bool ValidateRangeChecksum(const HistogramBase& histogram, 75 const Histogram& casted_histogram = 76 static_cast<const Histogram&>(histogram); 150 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name_); local 576 HistogramBase* histogram = Histogram::FactoryGet( local 763 LinearHistogram* histogram = static_cast<LinearHistogram*>(base_histogram); variable 922 HistogramBase* histogram = LinearHistogram::FactoryGet( local 1007 HistogramBase* histogram = BooleanHistogram::FactoryGet( local 1168 HistogramBase* histogram = CustomHistogram::FactoryGet( local [all...] |
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
Histogram.java | 24 public class Histogram extends TestBase {
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
Histogram.java | 24 public class Histogram extends TestBase { 31 public Histogram(boolean useIntrisic) {
|
/test/vts/web/dashboard/src/main/java/com/android/vts/util/ |
Histogram.java | 29 public class Histogram extends Graph { 40 private GraphType type = GraphType.HISTOGRAM; 44 public Histogram(String name) {
|
/external/v8/src/ |
counters.h | 38 // a histogram for passing to the AddHistogramSample function 44 // to a histogram created with CreateHistogram function 64 // Create a histogram by name. If the create is successful, 77 // Add a sample to a histogram created with the CreateHistogram 79 void AddHistogramSample(void* histogram, int sample) { 81 return add_histogram_sample_function_(histogram, sample); 175 // A Histogram represents a dynamically created histogram in the StatsTable. 176 // It will be registered with the histogram system on first use. 177 class Histogram { [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winioctl.h | 779 PHISTOGRAM_BUCKET Histogram; [all...] |