/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
D | RuntimeInstrumentTest.java | 55 private RuntimeInstrument instrument; field in RuntimeInstrumentTest 58 this.instrument = new RuntimeInstrument(ShortDuration.of(100, NANOSECONDS)); in createInstrument() 67 return instrument.isBenchmarkMethod(input); in isBenchmarkMethod() 80 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_macrobenchmark() 82 assertEquals(instrument, instrumentation.instrument()); in createInstrumentation_macrobenchmark() 88 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_microbenchmark() 90 assertEquals(instrument, instrumentation.instrument()); in createInstrumentation_microbenchmark() 96 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_picobenchmark() 98 assertEquals(instrument, instrumentation.instrument()); in createInstrumentation_picobenchmark() 106 instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_badParam() [all …]
|
D | CaliperTestWatcher.java | 50 private String instrument; field in CaliperTestWatcher 59 CaliperTestWatcher instrument(String instrument) { in instrument() argument 60 this.instrument = instrument; in instrument() 78 if (instrument != null) { in run() 80 options.add(instrument); in run()
|
D | AllocationInstrumentTest.java | 50 AllocationInstrument instrument = new AllocationInstrument(); in getExtraCommandLineArgs() local 53 instrument.setOptions(ImmutableMap.of("allocationAgentJar", fakeJar.getAbsolutePath())); in getExtraCommandLineArgs() 64 assertEquals(expected, instrument.getExtraCommandLineArgs(vmConfig)); in getExtraCommandLineArgs() 71 .instrument("allocation") in intrinsics()
|
D | BadUserCodeTest.java | 138 .instrument("allocation") in testNonDeterministicAllocation_noTrackAllocations() 154 .instrument("allocation") in testNonDeterministicAllocation_trackAllocations() 185 .instrument("allocation") in testComplexNonDeterministicAllocation_noTrackAllocations() 195 .instrument("allocation") in testComplexNonDeterministicAllocation_trackAllocations()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
D | CyclomaticComplexityTest.java | 73 instrument(Simple.class); in testSimple1() 80 instrument(Simple.class); in testSimple2() 96 instrument(If.class); in testIf1() 103 instrument(If.class); in testIf2() 111 instrument(If.class); in testIf3() 131 instrument(TwoIf.class); in testTwoIf1() 138 instrument(TwoIf.class); in testTwoIf2() 146 instrument(TwoIf.class); in testTwoIf3() 155 instrument(TwoIf.class); in testTwoIf4() 175 instrument(NestedIf.class); in testNestedIf1() [all …]
|
/external/caliper/caliper/src/main/resources/com/google/caliper/config/ |
D | global-config.properties | 33 # To define new instrument configurations, provide an "instrument.<name>.class" property 35 # whichever other options it supports using "instrument.<name>.<optionName>=<value>". 38 instrument.runtime.class=com.google.caliper.runner.RuntimeInstrument 41 instrument.runtime.options.warmup=10s 46 instrument.runtime.options.maxWarmupWallTime=10m 50 instrument.runtime.options.timingInterval=500ms 53 instrument.runtime.options.measurements=9 56 instrument.runtime.options.gcBeforeEach=true 61 instrument.runtime.options.suggestGranularity=true 64 instrument.arbitrary.class=com.google.caliper.runner.ArbitraryMeasurementInstrument [all …]
|
D | default-config.properties | 5 # instrument.micro.options.warmup=10s 6 # instrument.micro.options.timingInterval=500ms 7 # instrument.micro.options.reportedIntervals=7 8 # instrument.micro.options.maxRuntime=10s
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/ |
D | Instrumenter.java | 77 public byte[] instrument(final ClassReader reader) { in instrument() method in Instrumenter 98 public byte[] instrument(final byte[] buffer, final String name) in instrument() method in Instrumenter 101 return instrument(new ClassReader(buffer)); in instrument() 119 public byte[] instrument(final InputStream input, final String name) in instrument() method in Instrumenter 122 return instrument(new ClassReader(input)); in instrument() 141 public void instrument(final InputStream input, final OutputStream output, in instrument() method in Instrumenter 144 output.write(instrument(new ClassReader(input))); in instrument() 179 instrument(detector.getInputStream(), output, name); in instrumentAll()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
D | ModifiedSystemClassRuntime.java | 16 import java.lang.instrument.ClassFileTransformer; 17 import java.lang.instrument.IllegalClassFormatException; 18 import java.lang.instrument.Instrumentation; 128 return instrument(source, accessFieldName); in createFor() 155 public static byte[] instrument(final byte[] source, in instrument() method in ModifiedSystemClassRuntime
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ExperimentingRunnerModule.java | 208 Instrument instrument = instrumentProvider.get(); in provideInstruments() local 214 instrumentComponent.injectInstrument(instrument); in provideInstruments() 215 builder.add(instrument); in provideInstruments() 242 for (Instrument instrument : instruments) { in provideInstrumentations() 243 for (Method method : findAllBenchmarkMethods(benchmarkClass.benchmarkClass(), instrument)) { in provideInstrumentations() 245 builder.add(instrument.createInstrumentation(method)); in provideInstrumentations() 258 Instrument instrument) throws InvalidBenchmarkException { in findAllBenchmarkMethods() argument 268 if (instrument.isBenchmarkMethod(method)) { in findAllBenchmarkMethods()
|
D | WorkerProcess.java | 151 Instrument instrument = instrumentation.instrument(); in buildProcess() local 168 Iterable<String> instrumentJvmOptions = instrument.getExtraCommandLineArgs(vmConfig); in buildProcess() 169 logger.fine(String.format("Instrument(%s) Java args: %s", instrument.getClass().getName(), in buildProcess()
|
D | BenchmarkClassChecker.java | 77 for (Instrument instrument : instruments) { in isBenchmark() 78 if (instrument.isBenchmarkMethod(method)) { in isBenchmark()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 64 bool instrument(Value *Ptr, Value *Val, const DataLayout &DL); 126 bool BoundsChecking::instrument(Value *Ptr, Value *InstVal, in instrument() function in BoundsChecking 193 MadeChange |= instrument(LI->getPointerOperand(), LI, DL); in runOnFunction() 196 instrument(SI->getPointerOperand(), SI->getValueOperand(), DL); in runOnFunction() 199 instrument(AI->getPointerOperand(), AI->getCompareOperand(), DL); in runOnFunction() 202 instrument(AI->getPointerOperand(), AI->getValOperand(), DL); in runOnFunction()
|
/external/compiler-rt/test/profile/ |
D | instrprof-icall-promo.test | 1 RUN: %clangxx_profgen -O2 -Xclang -fprofile-instrument=llvm -c -o %t.1.o %S/Inputs/instrprof-icall… 2 RUN: %clangxx_profgen -O2 -Xclang -fprofile-instrument=llvm -c -o %t.2.o %S/Inputs/instrprof-icall… 4 RUN: %clangxx_profgen -O2 -Xclang -fprofile-instrument=llvm %t.2.o %t.1.o -o %t.gen.1 9 RUN: %clangxx_profgen -O2 -Xclang -fprofile-instrument=llvm %t.1.o %t.2.o -o %t.gen.2
|
D | instrprof-value-prof-shared.test | 10 // RUN: %clang_profgen -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-st… 11 // RUN: %clang_profgen -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-s… 20 // RUN: %clang_profgen -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-st… 21 // RUN: %clang_profgen -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-s… 30 // RUN: %clang_profgen -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-st… 31 // RUN: %clang_profgen -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-s…
|
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/ |
D | CoverageTransformer.java | 14 import java.lang.instrument.ClassFileTransformer; 15 import java.lang.instrument.IllegalClassFormatException; 93 return instrumenter.instrument(classfileBuffer, classname); in transform()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
D | ModifiedSystemClassRuntimeTest.java | 20 import java.lang.instrument.ClassDefinition; 21 import java.lang.instrument.ClassFileTransformer; 22 import java.lang.instrument.Instrumentation;
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/ |
D | InstrumentationSizeSzenario.java | 36 instr.instrument(reader); in run() 38 instr.instrument(reader).length, reader.b.length); in run()
|
/external/compiler-rt/test/profile/Linux/ |
D | instrprof-alloc.test | 1 // RUN: %clang_profgen -Xclang -fprofile-instrument=llvm -fuse-ld=gold -Wl,-wrap,malloc -Wl,-wrap,… 4 // RUN: %clang_profgen -Xclang -fprofile-instrument=llvm -mllvm -vp-static-alloc=false -fuse-ld=go…
|
/external/valgrind/drd/ |
D | drd_load_store.c | 593 IRSB* DRD_(instrument)(VgCallbackClosure* const closure, in DRD_() argument 605 Bool instrument = True; in DRD_() local 629 instrument = VG_(DebugInfo_sect_kind)(NULL, st->Ist.IMark.addr) in DRD_() 648 if (instrument) in DRD_() 658 if (instrument) in DRD_() 682 if (instrument) { in DRD_() 699 if (instrument) { in DRD_() 737 if (instrument) { in DRD_() 774 if (instrument) { in DRD_()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/ |
D | InstrumenterTest.java | 86 byte[] bytes = instrumenter.instrument( in testInstrumentClass() 100 instrumenter.instrument(brokenclass, "Broken"); in testInstrumentBrokenClass1() 114 instrumenter.instrument(new ByteArrayInputStream(brokenclass), in testInstrumentBrokenClass2() 126 byte[] bytes = instrumenter.instrument( in testSerialization()
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | InlineBytecodeGenerator.java | 31 import java.lang.instrument.ClassFileTransformer; 32 import java.lang.instrument.IllegalClassFormatException; 33 import java.lang.instrument.Instrumentation; 34 import java.lang.instrument.UnmodifiableClassException;
|
/external/javassist/sample/evolve/ |
D | Evolution.java | 57 clazz.instrument(converter); in onLoad() 183 cs[i].instrument(converter); in makeConcreteClass() 187 ms[i].instrument(converter); in makeConcreteClass()
|
/external/llvm/test/Instrumentation/AddressSanitizer/ |
D | instrument-dynamic-allocas.ll | 2 ; -asan-instrument-allocas=1 4 ; RUN: opt < %s -asan -asan-module -asan-instrument-allocas=1 -S | FileCheck %s --check-prefix=CHEC…
|
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/ |
D | InstrumentTask.java | 88 total += instrument(instrumenter, resource); in execute() 94 private int instrument(final Instrumenter instrumenter, in instrument() method in InstrumentTask
|