/external/caliper/caliper/src/main/java/com/google/caliper/api/ |
ResultProcessor.java | 19 import com.google.caliper.model.Trial; 30 void processTrial(Trial trial);
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
TrialResult.java | 17 import com.google.caliper.model.Trial; 24 private final Trial trial; field in class:TrialResult 28 TrialResult(Trial trial, Experiment experiment, ImmutableList<String> trialMessages) { 29 this.trial = trial; 38 Trial getTrial() { 39 return trial;
|
TrialResultFactory.java | 18 import com.google.caliper.model.Trial; 25 /** Returns a new {@link Trial}. */
|
OutputFileDumper.java | 26 import com.google.caliper.model.Trial; 96 @Override public void processTrial(Trial trial) { 107 "An error occured writing trial %s. Results in %s will be incomplete.", trial.id(), 112 gson.toJson(trial, Trial.class, writer.get());
|
ResultsUploader.java | 25 import com.google.caliper.model.Trial; 94 @Override public final void processTrial(Trial trial) { 103 resource.type(APPLICATION_JSON_TYPE).post(gson.toJson(ImmutableList.of(trial))); 105 runId = Optional.of(trial.run().id()); 108 logUploadFailure(trial, e); 110 logUploadFailure(trial, e); 118 private static void logUploadFailure(Trial trial, Exception e) { 120 "Could not upload trial %s. Consider uploading it manually.", trial.id()), e) [all...] |
TrialModule.java | 27 import com.google.caliper.model.Trial; 128 // TODO(lukes): should the trial messages be part of the Trial datastructure? It seems like 131 new Trial.Builder(trialId)
|
ConsoleOutput.java | 23 import com.google.caliper.model.Trial; 68 * Prints a short message when we observe a trial failure. 72 // TODO(lukes): it would be nice to print which trial failed. Consider adding Experiment data 75 "ERROR: Trial failed to complete (its results will not be included in the run):\n" 81 * Prints a summary of a successful trial result. 85 stdout.printf("Trial Report (%d of %d):%n Experiment %s%n", 94 Trial trial = result.getTrial(); local 98 .putAll(Multimaps.index(trial.measurements(), new Function<Measurement, String>() { 131 instrumentSpecs.add(trial.instrumentSpec()) [all...] |
TrialRunLoop.java | 23 import com.google.caliper.model.Trial; 42 * The main data gather control loop for a Trial. 45 * {@link Trial} while enforcing the trial timeout. 100 logger.log(Level.WARNING, "Trial cancelled before completing normally (but after " 106 // We were asked to stop but we didn't actually finish (the normal case). Fail the trial. 108 String.format("Trial cancelled. Inspect %s to see any worker output.", 164 "Trial exceeded the total allowable runtime (%s). " 182 "Unexpected error while executing trial. Inspect %s to see any worker output.",
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
InMemoryResultsUploader.java | 22 import com.google.caliper.model.Trial; 35 static ImmutableList<Trial> trials() { 39 private static List<Trial> trials; 51 @Override public void processTrial(Trial trial) { 53 trials.add(trial);
|
ResultProcessorCreatorTest.java | 24 import com.google.caliper.model.Trial; 56 public void processTrial(Trial trial) { 85 public void processTrial(Trial trial) { 103 public void processTrial(Trial trial) {
|
CaliperTestWatcher.java | 20 import com.google.caliper.model.Trial; 108 ImmutableList<Trial> trials() {
|
AllocationInstrumentTest.java | 23 import com.google.caliper.model.Trial; 73 Trial trial = Iterables.getOnlyElement(runner.trials()); local 75 Measurement.indexByDescription(trial.measurements());
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Trial.java | 36 public final class Trial { // used to be Result 37 public static final Trial DEFAULT = new Trial(); 45 private Trial() { 53 private Trial(Builder builder) { 84 } else if (obj instanceof Trial) { 85 Trial that = (Trial) obj; 162 public Trial build() { 166 return new Trial(this) [all...] |
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/ |
BufferPerformanceBench.java | 172 @Setup(Level.Trial) 216 @Setup(Level.Trial) 231 @Setup(Level.Trial)
|
/external/caliper/caliper/src/test/java/com/google/caliper/config/ |
CaliperConfigTest.java | 23 import com.google.caliper.model.Trial; 176 @Override public void processTrial(Trial trial) {}
|