HomeSort by relevance Sort by last modified time
    Searched refs:BenchmarkClass (Results 1 - 16 of 16) sorted by null

  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
BenchmarkClassModule.java 37 static BenchmarkClass provideBenchmarkClass(@Running.BenchmarkClass Class<?> benchmarkClassObject)
39 return BenchmarkClass.forClass(benchmarkClassObject);
45 BenchmarkClass benchmarkClass) {
46 return benchmarkClass.beforeExperimentMethods();
52 BenchmarkClass benchmarkClass) {
53 return benchmarkClass.afterExperimentMethods();
BenchmarkClass.java 44 final class BenchmarkClass {
45 private static final Logger logger = Logger.getLogger(BenchmarkClass.class.getName());
47 static BenchmarkClass forClass(Class<?> theClass) throws InvalidBenchmarkException {
48 return new BenchmarkClass(theClass);
55 private BenchmarkClass(Class<?> theClass) throws InvalidBenchmarkException {
122 @VisibleForTesting Class<?> benchmarkClass() {
133 } else if (obj instanceof BenchmarkClass) {
134 BenchmarkClass that = (BenchmarkClass) obj;
177 private static ImmutableSet<String> getVmOptions(Class<?> benchmarkClass) {
    [all...]
MainModule.java 48 @Running.BenchmarkClass
Running.java 48 public @interface BenchmarkClass {}
MainComponent.java 51 BenchmarkClass getBenchmarkClass();
BenchmarkCreator.java 39 private final Class<?> benchmarkClass;
45 @Running.BenchmarkClass Class<?> benchmarkClass,
47 this.benchmarkClass = benchmarkClass;
48 this.benchmarkClassCtor = findDefaultConstructor(benchmarkClass);
52 private static Constructor<?> findDefaultConstructor(Class<?> benchmarkClass) {
54 for (Constructor<?> constructor : benchmarkClass.getDeclaredConstructors()) {
63 String.format(BENCHMARK_NO_PUBLIC_DEFAULT_CONSTRUCTOR, benchmarkClass), null);
82 for (Field field : benchmarkClass.getDeclaredFields())
    [all...]
WorkerProcess.java 82 BenchmarkClass benchmarkClass,
86 buildProcess(trialId, experiment, benchmarkSpec, localPort, benchmarkClass);
148 BenchmarkClass benchmarkClass) {
166 args.addAll(getJvmArgs(vm, benchmarkClass));
185 BenchmarkClass benchmarkClass) {
199 ImmutableSet<String> benchmarkJvmOptions = benchmarkClass.vmOptions();
201 logger.fine(String.format("Benchmark(%s) %s args: %s", benchmarkClass.name(), platformName
    [all...]
OutputFileDumper.java 62 BenchmarkClass benchmarkClass,
76 this.resultFile = new File(dir, createFileName(benchmarkClass.name()));
80 new File(new File(caliperDirectory, "results"), createFileName(benchmarkClass.name()));
ExperimentingCaliperRun.java 71 private final BenchmarkClass benchmarkClass;
82 BenchmarkClass benchmarkClass,
90 this.benchmarkClass = benchmarkClass;
128 benchmarkClass.benchmarkClass().getSimpleName(), instruments);
270 benchmarkClass.setUpBenchmark(benchmark);
276 benchmarkClass.cleanup(benchmark)
    [all...]
ExperimentingRunnerModule.java 137 BenchmarkClass benchmarkClass, CaliperOptions options) throws InvalidBenchmarkException {
138 return benchmarkClass.userParameters().fillInDefaultsFor(options.userParameters());
237 BenchmarkClass benchmarkClass, ImmutableSet<Instrument> instruments)
243 for (Method method : findAllBenchmarkMethods(benchmarkClass.benchmarkClass(), instrument)) {
257 private static ImmutableSortedSet<Method> findAllBenchmarkMethods(Class<?> benchmarkClass,
267 for (Method method : benchmarkClass.getDeclaredMethods()) {
280 benchmarkClass);
    [all...]
  /external/caliper/caliper/src/test/java/com/google/caliper/runner/
BenchmarkClassTest.java 31 * Tests {@link BenchmarkClass}.
40 BenchmarkClass.forClass(MyBenchmark.class).beforeExperimentMethods());
48 BenchmarkClass.forClass(MyBenchmark.class).afterExperimentMethods());
53 BenchmarkClass.forClass(MalformedBenhcmark.class);
ExperimentingRunnerModuleTest.java 73 BenchmarkClass.forClass(TestBenchmark.class),
87 BenchmarkClass.forClass(TestBenchmark.class),
97 BenchmarkClass.forClass(TestBenchmark.class),
106 BenchmarkClass.forClass(TestBenchmark.class),
WorkerProcessTest.java 68 private BenchmarkClass benchmarkClass;
71 benchmarkClass = BenchmarkClass.forClass(TestBenchmark.class);
165 benchmarkClass);
FakeWorkers.java 72 args = WorkerProcess.getJvmArgs(jvm, BenchmarkClass.forClass(mainClass));
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
AllAllocationsRecorder.java 33 private final Class<?> benchmarkClass;
60 if (element.getClassName().equals(benchmarkClass.getName())
72 @Inject AllAllocationsRecorder(@Running.BenchmarkClass Class<?> benchmarkClass,
74 this.benchmarkClass = benchmarkClass;
WorkerModule.java 59 @Running.BenchmarkClass

Completed in 614 milliseconds