/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Measurement.java | 31 * A single, weighted measurement. 35 public class Measurement implements Serializable { 38 public static ImmutableListMultimap<String, Measurement> indexByDescription( 39 Iterable<Measurement> measurements) { 40 return Multimaps.index(measurements, new Function<Measurement, String>() { 41 @Override public String apply(Measurement input) { 53 private Measurement() { 59 private Measurement(Builder builder) { 68 } else if (obj instanceof Measurement) { 69 Measurement that = (Measurement) obj [all...] |
Trial.java | 43 private List<Measurement> measurements; 77 public ImmutableList<Measurement> measurements() { 115 private final List<Measurement> measurements = Lists.newArrayList(); 148 public Builder addMeasurement(Measurement.Builder measurementBuilder) { 152 public Builder addMeasurement(Measurement measurement) { 153 this.measurements.add(measurement); 157 public Builder addAllMeasurements(Iterable<Measurement> measurements) {
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
StopMeasurementLogMessage.java | 19 import com.google.caliper.model.Measurement; 31 private final ImmutableList<Measurement> measurements; 33 public StopMeasurementLogMessage(Iterable<Measurement> measurements) { 37 public ImmutableList<Measurement> measurements() {
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
ArbitraryMeasurmentInstrumentTest.java | 22 import com.google.caliper.model.Measurement; 44 Measurement measurement = Iterables.getOnlyElement( local 46 Measurement expected = new Measurement.Builder() 51 assertEquals(expected, measurement);
|
AllocationInstrumentTest.java | 22 import com.google.caliper.model.Measurement; 74 ImmutableListMultimap<String, Measurement> measurementsByDescription = 75 Measurement.indexByDescription(trial.measurements()); 78 for (Measurement objectMeasurement : measurementsByDescription.get("objects")) { 81 for (Measurement byteMeasurement : measurementsByDescription.get("bytes")) {
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
MacrobenchmarkAllocationWorker.java | 19 import com.google.caliper.model.Measurement; 43 // do one initial measurement and throw away its results 47 @Override public ImmutableList<Measurement> measure() throws Exception {
|
ArbitraryMeasurementWorker.java | 20 import com.google.caliper.model.Measurement; 57 @Override public Iterable<Measurement> measure() throws Exception { 59 return ImmutableSet.of(new Measurement.Builder()
|
Worker.java | 18 import com.google.caliper.model.Measurement; 69 public abstract Iterable<Measurement> measure() throws Exception;
|
MacrobenchmarkWorker.java | 24 import com.google.caliper.model.Measurement; 67 @Override public Iterable<Measurement> measure() throws Exception { 72 return ImmutableSet.of(new Measurement.Builder()
|
RuntimeWorker.java | 21 import com.google.caliper.model.Measurement; 74 @Override public Iterable<Measurement> measure() throws Exception { 76 Measurement measurement = new Measurement.Builder() local 84 return ImmutableSet.of(measurement);
|
WorkerEventLog.java | 26 import com.google.caliper.model.Measurement; 54 writer.write("Measurement phase starting (includes warmup and actual measurement)."); 67 * warmup or measurement phase. 69 ShouldContinueMessage notifyMeasurementEnding(Iterable<Measurement> measurements) throws
|
MicrobenchmarkAllocationWorker.java | 19 import com.google.caliper.model.Measurement; 41 * The number of consecutive measurement runs that must have matching allocations during the warm 127 @Override public Iterable<Measurement> measure() throws Exception { 131 AllocationStats measurement = measureAllocations(benchmark, benchmarkMethod, measurementReps); local 132 return measurement.minus(baseline).toMeasurements();
|
AllocationStats.java | 20 import com.google.caliper.model.Measurement; 80 * Computes and returns the difference between this measurement and the given 81 * {@code baseline} measurement. The {@code baseline} measurement must have a lower weight 82 * (fewer reps) than this measurement. 91 + "measurement", 105 + "between the baseline %s and the measurement %s is invalid. Consider enabling " 112 * Computes and returns the difference between this measurement and the given 113 * {@code baseline} measurement. Unlike {@link #minus(AllocationStats)} this does not have to 126 * Returns a list of {@link Measurement measurements} based on this collection of stats [all...] |
/system/extras/tests/sdcard/ |
stopwatch.h | 78 struct Measurement { 104 // Print a summary of the measurement and optionaly the raw data. 135 struct Measurement *mData;
|
stopwatch.cpp | 64 mData = (Measurement *) malloc(mCapacity * sizeof(Measurement)); 146 // reallocate the measurement buffer (e.g start and stop called more 154 fprintf(stderr, "# Increased capacity to %d for %s. Measurement affected.\n", 156 mData = (Measurement *)realloc(mData, mCapacity * sizeof(Measurement));
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
NetworkDiagnostics.java | 112 public class Measurement { 151 // measurement even began, fixup the start time to reflect as much. 161 private final Map<InetAddress, Measurement> mIcmpChecks = new HashMap<>(); 162 private final Map<Pair<InetAddress, InetAddress>, Measurement> mExplicitSourceIcmpChecks = 164 private final Map<InetAddress, Measurement> mDnsUdpChecks = new HashMap<>(); 226 Measurement measurement = new Measurement(); local 227 measurement.thread = new Thread(new IcmpCheck(target, measurement)); 238 Measurement measurement = new Measurement(); local 248 Measurement measurement = new Measurement(); local [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ConsoleOutput.java | 21 import com.google.caliper.model.Measurement; 95 ImmutableListMultimap<String, Measurement> measurementsIndex = 96 new ImmutableListMultimap.Builder<String, Measurement>() 98 .putAll(Multimaps.index(trial.measurements(), new Function<Measurement, String>() { 99 @Override public String apply(Measurement input) { 105 for (Entry<String, Collection<Measurement>> entry : measurementsIndex.asMap().entrySet()) { 106 Collection<Measurement> measurements = entry.getValue(); 108 .transform(new Function<Measurement, String>() { 109 @Override public String apply(Measurement input) { 115 for (Measurement measurement : measurements) [all...] |
Instrument.java | 27 import com.google.caliper.model.Measurement; 165 ImmutableList<Measurement> getMeasurements(); 186 final ListMultimap<String, Measurement> measurementsByDescription; 204 for (Measurement measurement : logMessage.measurements()) { 205 measurementsByDescription.put(measurement.description(), measurement); local 223 @Override public ImmutableList<Measurement> getMeasurements() {
|
ArbitraryMeasurementInstrument.java | 26 import com.google.caliper.model.Measurement; 42 * Instrument for taking an arbitrary measurement. When using this instrument, the benchmark code 56 "Arbitrary measurement methods should take no parameters: " + benchmarkMethod.getName()); 61 "Arbitrary measurement methods must have a return type of double: " 68 "Arbitrary measurement methods must not be static: " + benchmarkMethod.getName()); 73 "Arbitrary measurement methods must be public: " + benchmarkMethod.getName()); 80 // We could allow it here but in general it would depend on the particular measurement so it 125 Optional<Measurement> measurement = Optional.absent(); field in class:ArbitraryMeasurementInstrument.SingleMeasurementCollectingVisitor 129 return measurement.isPresent() [all...] |
RuntimeInstrument.java | 40 import com.google.caliper.model.Measurement; 247 final List<Measurement> measurements = Lists.newArrayList(); 308 ImmutableList<Measurement> newMeasurements = logMessage.measurements(); 310 for (Measurement measurement : newMeasurements) { 312 checkArgument("ns".equals(measurement.value().unit())); 314 ShortDuration.of(BigDecimal.valueOf(measurement.value().magnitude()), NANOSECONDS)); 315 validateMeasurement(measurement); 336 abstract void validateMeasurement(Measurement measurement); [all...] |
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
SurfaceCompositionMeasuringActivity.java | 130 score.mSurfaces = measureCompositionScore(new Measurement(0, 60.0), 131 new Measurement(mViews.size() + 1, 0.0f), pixelFormat); 393 class Measurement { 394 Measurement(int surfaceCnt, double fps) { 403 private double measureCompositionScore(Measurement ok, Measurement fail, int pixelFormat) { 411 Measurement median = new Measurement(medianSurfaceCnt,
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.osgi.util_3.2.100.v20100503.jar | |
/frameworks/minikin/libs/minikin/ |
Measurement.cpp | 24 #include <minikin/Measurement.h>
|
Android.mk | 45 Measurement.cpp \
|
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/ |
BufferPerformanceBench.java | 32 import org.openjdk.jmh.annotations.Measurement; 53 @Measurement(iterations = 10, time = 10)
|