/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/EntryExitInstrumenter/ |
D | mcount.ll | 1 ; RUN: opt -passes="function(ee-instrument),cgscc(inline),function(post-inline-ee-instrument)" -S <… 4 …es="function(ee-instrument),function(ee-instrument),cgscc(inline),function(post-inline-ee-instrume… 104 ; CHECK-NOT: instrument-function 106 attributes #0 = { "instrument-function-entry-inlined"="mcount" "instrument-function-entry"="__cyg_p… 107 attributes #1 = { "instrument-function-entry-inlined"=".mcount" } 108 attributes #2 = { "instrument-function-entry-inlined"="\01__gnu_mcount_nc" } 109 attributes #3 = { "instrument-function-entry-inlined"="\01_mcount" } 110 attributes #4 = { "instrument-function-entry-inlined"="\01mcount" } 111 attributes #5 = { "instrument-function-entry-inlined"="__mcount" } 112 attributes #6 = { "instrument-function-entry-inlined"="_mcount" } [all …]
|
D | debug-info.ll | 1 ; RUN: opt -passes="function(ee-instrument),cgscc(inline),function(post-inline-ee-instrument)" -S <… 25 attributes #0 = { "instrument-function-entry"="__cyg_profile_func_enter" "instrument-function-exit"…
|
/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 | 78 public byte[] instrument(final ClassReader reader) { in instrument() method in Instrumenter 105 public byte[] instrument(final byte[] buffer, final String name) in instrument() method in Instrumenter 108 return instrument(new ClassReader(buffer)); in instrument() 127 public byte[] instrument(final InputStream input, final String name) in instrument() method in Instrumenter 135 return instrument(bytes, name); in instrument() 153 public void instrument(final InputStream input, final OutputStream output, in instrument() method in Instrumenter 155 output.write(instrument(input, name)); in instrument() 194 instrument(detector.getInputStream(), output, name); in instrumentAll()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-xray/X86/ |
D | extract-instrmap.ll | 7 …0000000041C900, function: 0x000000000041C900, kind: function-enter, always-instrument: true{{.*}} } 8 …00000000041C912, function: 0x000000000041C900, kind: function-exit, always-instrument: true{{.*}} } 9 …0000000041C930, function: 0x000000000041C930, kind: function-enter, always-instrument: true{{.*}} } 10 …00000000041C946, function: 0x000000000041C930, kind: function-exit, always-instrument: true{{.*}} }
|
D | extract-instrmap-symbolize.ll | 6 …000041C900, function: 0x000000000041C900, kind: function-enter, always-instrument: true, function-… 7 …0000041C912, function: 0x000000000041C900, kind: function-exit, always-instrument: true, function-… 8 …000041C930, function: 0x000000000041C930, kind: function-enter, always-instrument: true, function-… 9 …0000041C946, function: 0x000000000041C930, kind: function-exit, always-instrument: true, function-…
|
/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() 154 public static byte[] instrument(final byte[] source, in instrument() method in ModifiedSystemClassRuntime
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | mcount-insertion.ll | 1 ; RUN: opt -ee-instrument < %s | opt -inline | llc | FileCheck %s 46 attributes #0 = { "instrument-function-entry-inlined"="mcount" "instrument-function-entry"="__cyg_p…
|
/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()
|
/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.cli/src/org/jacoco/cli/internal/commands/ |
D | Instrument.java | 58 total += instrument(s, new File(absoluteDest, s.getName())); in execute() 77 total += instrument(src, dest); in instrumentRecursive() 82 private int instrument(final File src, final File dest) throws IOException { in instrument() method in Instrument
|
/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; 91 return instrumenter.instrument(classfileBuffer, classname); in transform()
|
/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/swiftshader/third_party/llvm-7.0/llvm/docs/ |
D | XRayExample.rst | 16 Clang that supports the ``-fxray-instrument`` option. See `XRay <XRay.html>`_ 19 In our example, we need to add ``-fxray-instrument`` to the list of flags 29 -DCMAKE_C_FLAGS_RELEASE="-fxray-instrument" -DCMAKE_CXX_FLAGS="-fxray-instrument" \ 133 that we can instrument more (if not all) the functions we have in the binary. 148 -DCMAKE_C_FLAGS_RELEASE="-fxray-instrument -fxray-instruction-threshold=1" \ 149 -DCMAKE_CXX_FLAGS="-fxray-instrument -fxray-instruction-threshold=1" 178 instrument, and another for functions to never instrument. The format of these 185 # always instrument functions that match the following filters: 189 # never instrument functions that match the following filters: 303 $ clang++ -o sample -O3 sample.cc -std=c++11 -fxray-instrument -fxray-instruction-threshold=1
|
/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/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/ |
D | InstrumenterTest.java | 87 byte[] bytes = instrumenter.instrument( in testInstrumentClass() 104 instrumenter.instrument(brokenclass, "Broken.class"); in testInstrumentBrokenClass1() 126 instrumenter.instrument(new BrokenInputStream(), "BrokenStream"); in testInstrumentBrokenStream() 141 instrumenter.instrument(new BrokenInputStream(), in testInstrumentBrokenStream2() 153 byte[] bytes = instrumenter.instrument( in testSerialization()
|