/external/tensorflow/tensorflow/python/framework/ |
D | op_callbacks_test.py | 233 instrument = _NumpyFunctionCallback() 235 op_callbacks.add_op_callback(instrument.callback) 240 self.assertEqual(instrument.eager_op_types, [_LOG_OP, _SQUARE_OP]) 242 self.assertEqual(instrument.eager_op_names, [None, None]) 243 self.assertEqual(instrument.eager_graphs, [None, None]) 244 self.assertEqual(len(instrument.eager_inputs), 2) 245 self.assertEqual(len(instrument.eager_inputs[0]), 1) 246 self.assertIsInstance(instrument.eager_inputs[0], tuple) 247 self.assertEqual(instrument.eager_inputs[0][0], x) 248 self.assertEqual(len(instrument.eager_inputs[1]), 1) [all …]
|
/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()
|
/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/ |
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/llvm-project/llvm/test/tools/llvm-xray/AArch64/ |
D | extract-instrmap.test | 8 # CHECK-NEXT: - { id: 1, address: 0x420, function: 0x420, kind: function-enter, always-instrument: … 9 # CHECK-NEXT: - { id: 1, address: 0x440, function: 0x420, kind: function-exit, always-instrument: t… 10 # CHECK-NEXT: - { id: 2, address: 0x464, function: 0x464, kind: function-enter, always-instrument: … 11 # CHECK-NEXT: - { id: 2, address: 0x484, function: 0x464, kind: function-exit, always-instrument: t… 12 # CHECK-NEXT: - { id: 3, address: 0x4A8, function: 0x4A8, kind: function-enter, always-instrument: … 13 # CHECK-NEXT: - { id: 3, address: 0x4C8, function: 0x4A8, kind: function-exit, always-instrument: t… 19 # MANGLED-NEXT: - { id: 1, address: 0x420, function: 0x420, kind: function-enter, always-instrument… 20 # MANGLED-NEXT: - { id: 1, address: 0x440, function: 0x420, kind: function-exit, always-instrument:… 21 # MANGLED-NEXT: - { id: 2, address: 0x464, function: 0x464, kind: function-enter, always-instrument… 22 # MANGLED-NEXT: - { id: 2, address: 0x484, function: 0x464, kind: function-exit, always-instrument:… [all …]
|
/external/llvm-project/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"="llvm.arm.gnu.eabi.mcount" } 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 …]
|
/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/llvm-project/llvm/test/tools/llvm-xray/ARM/ |
D | extract-instrmap.test | 9 ## -target armv7a-linux-androideabi -nostdlib -fxray-instrument -fPIC -shared 132 # CHECK-NEXT: - { id: 1, address: 0x12B0, function: 0x12B0, kind: function-enter, always-instrument… 133 # CHECK-NEXT: - { id: 1, address: 0x12CC, function: 0x12B0, kind: function-exit, always-instrument:… 134 # CHECK-NEXT: - { id: 2, address: 0x12EC, function: 0x12EC, kind: function-enter, always-instrument… 135 # CHECK-NEXT: - { id: 2, address: 0x1308, function: 0x12EC, kind: function-exit, always-instrument:… 136 # CHECK-NEXT: - { id: 3, address: 0x1328, function: 0x1328, kind: function-enter, always-instrument… 137 # CHECK-NEXT: - { id: 3, address: 0x1344, function: 0x1328, kind: function-exit, always-instrument:… 143 …id: 1, address: 0x12B0, function: 0x12B0, kind: function-enter, always-instrument: true, function-… 144 … id: 1, address: 0x12CC, function: 0x12B0, kind: function-exit, always-instrument: true, function-… 145 …id: 2, address: 0x12EC, function: 0x12EC, kind: function-enter, always-instrument: true, function-… [all …]
|
/external/llvm-project/llvm/test/Transforms/PGOProfile/ |
D | branch2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixe… 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 7 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 8 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixe… 10 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata -S | … 11 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdat…
|
D | loop1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixe… 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 6 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 7 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes… 9 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata -S | F… 10 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata…
|
D | switch.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixe… 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 6 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 7 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes… 9 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata -S | F… 10 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata…
|
D | instr_entry_bb.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry -S | FileCheck %s --check-prefix=GEN 3 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry -instrprof -atomic-first-counter -S | FileChec… 4 ; RUN: opt < %s -passes=pgo-instr-gen,instrprof -pgo-instrument-entry -atomic-first-counter -S | Fi… 7 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instrument-entry -S | FileCh… 8 ; RUN: opt < %s -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-instrument-entry -S |…
|
D | loop2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixe… 4 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdata -S | … 5 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=false -pgo-test-profile-file=%t.profdat… 6 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 7 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes… 9 ; RUN: opt < %s -pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata -S | F… 10 ; RUN: opt < %s -passes=pgo-instr-use -pgo-instrument-entry=true -pgo-test-profile-file=%t.profdata…
|
/external/javassist/src/test/javassist/ |
D | Bench.java | 15 m1.instrument(new ExprEditor() { in testProceed() 23 m2.instrument(new ExprEditor() { in testProceed() 31 m3.instrument(new ExprEditor() { in testProceed() 43 m4.instrument(new ExprEditor() { in testProceed() 69 m1.instrument(new ExprEditor() { 76 m2.instrument(new ExprEditor() { 95 m1.instrument(new ExprEditor() {
|
/external/llvm-project/llvm/test/tools/llvm-xray/X86/ |
D | extract-instrmap.ll | 7 …id: 1, address: 0x41C900, function: 0x41C900, kind: function-enter, always-instrument: true{{.*}} } 8 … id: 1, address: 0x41C912, function: 0x41C900, kind: function-exit, always-instrument: true{{.*}} } 9 …id: 2, address: 0x41C930, function: 0x41C930, kind: function-enter, always-instrument: true{{.*}} } 10 … id: 2, address: 0x41C946, function: 0x41C930, kind: function-exit, always-instrument: true{{.*}} }
|
D | extract-instrmap-pie.ll | 7 …: 1, address: 0x299C0, function: 0x299C0, kind: function-enter, always-instrument: true, function-… 8 …d: 1, address: 0x299D0, function: 0x299C0, kind: function-exit, always-instrument: true, function-… 9 …: 2, address: 0x299E0, function: 0x299E0, kind: function-enter, always-instrument: true, function-… 10 …d: 2, address: 0x299F6, function: 0x299E0, kind: function-exit, always-instrument: true, function-…
|
D | extract-instrmap-symbolize.ll | 6 …1, address: 0x41C900, function: 0x41C900, kind: function-enter, always-instrument: true, function-… 7 … 1, address: 0x41C912, function: 0x41C900, kind: function-exit, always-instrument: true, function-… 8 …2, address: 0x41C930, function: 0x41C930, kind: function-enter, always-instrument: true, function-… 9 … 2, address: 0x41C946, function: 0x41C930, kind: function-exit, always-instrument: true, function-…
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/ |
D | Instrumenter.java | 72 private byte[] instrument(final byte[] source) { in instrument() method in Instrumenter 103 public byte[] instrument(final byte[] buffer, final String name) in instrument() method in Instrumenter 106 return instrument(buffer); in instrument() 125 public byte[] instrument(final InputStream input, final String name) in instrument() method in Instrumenter 133 return instrument(bytes, name); in instrument() 151 public void instrument(final InputStream input, final OutputStream output, in instrument() method in Instrumenter 153 output.write(instrument(input, name)); in instrument() 192 instrument(detector.getInputStream(), output, name); in instrumentAll()
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | mcount-insertion.ll | 1 ; RUN: opt -ee-instrument < %s | opt -inline | llc -mtriple=powerpc64-unknown-linux-gnu | FileCheck… 45 attributes #0 = { "instrument-function-entry-inlined"="mcount" "instrument-function-entry"="__cyg_p…
|
/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/llvm-project/compiler-rt/lib/xray/ |
D | xray_always_instrument.txt | 2 # always instrument. You can use this as an argument to 3 # -fxray-always-instrument=<path> along with your project-specific lists. 5 # Always instrument the main function.
|
D | xray_never_instrument.txt | 2 # never instrument. You can use this as an argument to 3 # -fxray-never-instrument=<path> along with your project-specific lists. 5 # Never instrument any function whose symbol starts with __xray.
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ExperimentingRunnerModule.java | 216 Instrument instrument = instrumentProvider.get(); in provideInstruments() local 222 instrumentComponent.injectInstrument(instrument); in provideInstruments() 223 builder.add(instrument); in provideInstruments() 250 for (Instrument instrument : instruments) { in provideInstrumentations() 251 for (Method method : findAllBenchmarkMethods(benchmarkClass.benchmarkClass(), instrument)) { in provideInstrumentations() 253 builder.add(instrument.createInstrumentation(method)); in provideInstrumentations() 266 Instrument instrument) throws InvalidBenchmarkException { in findAllBenchmarkMethods() argument 276 if (instrument.isBenchmarkMethod(method)) { in findAllBenchmarkMethods()
|
/external/rust/crates/tokio/src/util/ |
D | trace.rs | 3 pub(crate) use tracing::instrument::Instrumented; 8 use tracing::instrument::Instrument; 24 task.instrument(span)
|