/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/ |
Median.java | 23 * Returns the median of the available values. This is the same as the 50th percentile. 24 * See {@link Percentile} for a description of the algorithm used. 33 public class Median extends Percentile implements Serializable {
|
Percentile.java | 28 * Provides percentile computation. 36 * <code>0 < p <= 100</code> be the desired percentile.</li> 39 * <li>Compute the estimated percentile position 56 * (50th percentile) of 59 * Since percentile estimation usually involves interpolation between array 63 * Since 2.2, Percentile implementation uses only selection instead of complete 66 * This greatly improves efficiency, both for single percentile and multiple 69 * state from the previous calls. Percentile does this by checking the array reference 82 public class Percentile extends AbstractUnivariateStatistic implements Serializable { 93 /** Determines what percentile is computed when evaluate() is activate [all...] |
/external/llvm/lib/Analysis/ |
ProfileSummaryInfo.cpp | 22 // considered hot/cold. These two parameters are percentile values (multiplied 32 " reach this percentile of total counts.")); 37 " to reach this percentile of total counts.")); 39 // Find the minimum count to reach a desired percentile of counts. 41 uint64_t Percentile) { 42 auto Compare = [](const ProfileSummaryEntry &Entry, uint64_t Percentile) { 43 return Entry.Cutoff < Percentile; 45 auto It = std::lower_bound(DS.begin(), DS.end(), Percentile, Compare); 46 // The required percentile has to be <= one of the percentiles in the 49 report_fatal_error("Desired percentile exceeds the maximum cutoff") [all...] |
/art/runtime/base/ |
histogram_test.cc | 27 // Percentile PerValue 34 // PerValue = hist->PercentileVal(0.50); finds the 50th percentile(median). 66 TEST(Histtest, Percentile) { 67 std::unique_ptr<Histogram<uint64_t>> hist(new Histogram<uint64_t>("Percentile", 5)); 89 PerValue = hist->Percentile(0.50, data); 121 PerValue = hist->Percentile(0.50, data); 164 PerValue = hist->Percentile(0.50, data); 205 PerValue = hist->Percentile(0.50, data); 238 per_995 = hist->Percentile(0.995, data); 247 per_005 = hist->Percentile(0.005, data) [all...] |
histogram.h | 59 double Percentile(double per, const CumulativeData& data) const;
|
histogram-inl.h | 197 << (interval * 100) << "% C.I. " << FormatDuration(Percentile(per_0, data) * kAdjust, unit, 199 << "-" << FormatDuration(Percentile(per_1, data) * kAdjust, unit, kFractionalDigits) << " " 236 inline double Histogram<Value>::Percentile(double per, const CumulativeData& data) const {
|
/external/chromium-trace/catapult/common/lab/ |
commits.py | 35 def Percentile(data, percentile): 36 """Find a percentile of a list of values. 40 percentile: The percentile to look up, from 0.0 to 1.0. 43 The percentile. 51 k = (len(data) - 1) * percentile 91 percentile = Percentile(commit_durations, p) 92 print '%3d%% commit duration:' % (p * 100), '%6ds' % percentile [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
DescriptiveStatistics.java | 32 import org.apache.commons.math.stat.descriptive.rank.Percentile; 96 /** Percentile statistic implementation - can be reset by setter. */ 97 private UnivariateStatistic percentileImpl = new Percentile(); 376 * Returns an estimate for the pth percentile of the stored values. 388 * @param p the requested percentile (scaled from 0 - 100) 389 * @return An estimate for the pth percentile of the stored data 390 * @throws IllegalStateException if percentile implementation has been 395 if (percentileImpl instanceof Percentile) { 396 ((Percentile) percentileImpl).setQuantile(p); 559 * Returns the currently configured percentile implementation [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
StatUtils.java | 28 import org.apache.commons.math.stat.descriptive.rank.Percentile; 66 /** percentile */ 67 private static final Percentile PERCENTILE = new Percentile(); 498 * Returns an estimate of the <code>p</code>th percentile of the values 511 * See {@link org.apache.commons.math.stat.descriptive.rank.Percentile} for 512 * a description of the percentile estimation algorithm used.</p> 515 * @param p the percentile value to compute 516 * @return the percentile value or Double.NaN if the array is empt 520 public static double percentile(final double[] values, final double p) { method in class:StatUtils 551 public static double percentile(final double[] values, final int begin, method in class:StatUtils [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ConsoleOutput.java | 37 import org.apache.commons.math.stat.descriptive.rank.Percentile; 119 Percentile percentile = new Percentile(); local 120 percentile.setData(weightedValues); 126 descriptiveStatistics.getMin(), percentile.evaluate(25), 127 percentile.evaluate(50), descriptiveStatistics.getMean(), 128 percentile.evaluate(75), descriptiveStatistics.getMax());
|