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

  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
ArbitraryMeasurementWorker.java 52 if (options.gcBeforeEach && !inWarmup) {
67 final boolean gcBeforeEach;
70 this.gcBeforeEach = Boolean.parseBoolean(options.get("gcBeforeEach"));
MacrobenchmarkWorker.java 45 private final boolean gcBeforeEach;
55 this.gcBeforeEach = Boolean.parseBoolean(workerOptions.get("gcBeforeEach"));
62 if (gcBeforeEach && !inWarmup) {
RuntimeWorker.java 69 if (options.gcBeforeEach && !inWarmup) {
145 boolean gcBeforeEach;
149 this.gcBeforeEach = Boolean.parseBoolean(optionMap.get("gcBeforeEach"));
  /external/caliper/caliper/src/test/java/com/google/caliper/runner/
RuntimeInstrumentTest.java 190 // The GC error will only be avoided if gcBeforeEach is true, and
199 // Verifies that we indeed get a GC warning if gcBeforeEach = false.
201 assertTrue("A GC warning should be printed to stderr if gcBeforeEach isn't honored",
205 private void runBenchmarkWithKnownHeap(boolean gcBeforeEach) throws Exception {
211 "-Cinstrument.runtime.options.gcBeforeEach=" + gcBeforeEach,

Completed in 133 milliseconds