/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/devlib/devlib/ |
D | __init__.py | 12 from devlib.instrument import Instrument, InstrumentChannel, Measurement, MeasurementsCsv 13 from devlib.instrument import MEASUREMENT_TYPES, INSTANTANEOUS, CONTINUOUS 14 from devlib.instrument.daq import DaqInstrument 15 from devlib.instrument.energy_probe import EnergyProbeInstrument 16 from devlib.instrument.frames import GfxInfoFramesInstrument 17 from devlib.instrument.hwmon import HwmonInstrument 18 from devlib.instrument.monsoon import MonsoonInstrument 19 from devlib.instrument.netstats import NetstatsInstrument
|
/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 109 final byte[] result = instrument( in instrument() 114 return instrument(new ClassReader(buffer)); in instrument() 133 public byte[] instrument(final InputStream input, final String name) in instrument() method in Instrumenter 141 return instrument(bytes, name); in instrument() 157 public void instrument(final InputStream input, final OutputStream output, in instrument() method in Instrumenter 159 output.write(instrument(input, name)); in instrument() 196 instrument(detector.getInputStream(), output, name); in instrumentAll()
|
/external/devlib/doc/ |
D | instrumentation.rst | 13 The following example shows how to use an instrument to read temperature from an 18 # import and instantiate the Target and the instrument 27 # Set up the instrument on the Target. In case of HWMON, this is 31 # Find out what the instrument is capable collecting from the 42 # HWMON instrument supports INSTANTANEOUS collection, so invoking 63 instrument. Possible values are: 65 :INSTANTANEOUS: The instrument supports taking a single sample via 67 :CONTINUOUS: The instrument supports collecting measurements over a 71 .. note:: It's possible for one instrument to support more than a single 82 this instrument can measure on the current target. A channel is a combination [all …]
|
/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; 129 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/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/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/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/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()
|
/external/valgrind/drd/ |
D | drd_load_store.c | 591 IRSB* DRD_(instrument)(VgCallbackClosure* const closure, in DRD_() argument 603 Bool instrument = True; in DRD_() local 627 instrument = VG_(DebugInfo_sect_kind)(NULL, st->Ist.IMark.addr) in DRD_() 646 if (instrument) in DRD_() 656 if (instrument) in DRD_() 680 if (instrument) { in DRD_() 697 if (instrument) { in DRD_() 735 if (instrument) { in DRD_() 772 if (instrument) { in DRD_()
|
/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…
|