Home
last modified time | relevance | path

Searched refs:instrumentation (Results 1 – 25 of 161) sorted by relevance

1234567

/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DExperiment.java35 private final Instrumentation instrumentation; field in Experiment
40 Instrumentation instrumentation, in Experiment() argument
43 this.instrumentation = checkNotNull(instrumentation); in Experiment()
48 Instrumentation instrumentation() { in instrumentation() method in Experiment
49 return instrumentation; in instrumentation()
63 return this.instrumentation.equals(that.instrumentation) in equals()
71 return Objects.hashCode(instrumentation, vm, userParameters); in hashCode()
76 .add("instrument", instrumentation.instrument()) in toString()
77 .add("benchmarkMethod", instrumentation.benchmarkMethod.getName()) in toString()
DTrialModule.java76 .className(experiment.instrumentation().benchmarkMethod().getDeclaringClass().getName()) in provideBenchmarkSpec()
77 .methodName(experiment.instrumentation().benchmarkMethod().getName()) in provideBenchmarkSpec()
92 return experiment.instrumentation().getMeasurementCollectingVisitor(); in provideMeasurementCollectingVisitor()
98 return experiment.instrumentation().instrument().schedulingPolicy(); in provideTrialSchedulingPolicy()
133 .instrumentSpec(experiment.instrumentation().instrument().getSpec()) in provideTrialFactory()
DWorkerProcess.java150 Instrumentation instrumentation = experiment.instrumentation(); in buildProcess() local
151 Instrument instrument = instrumentation.instrument(); in buildProcess()
154 instrumentation.workerClass(), in buildProcess()
155 instrumentation.workerOptions(), in buildProcess()
157 ImmutableList.copyOf(instrumentation.benchmarkMethod.getParameterTypes()), in buildProcess()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DInstrumentationInputInjector.java17 package io.appium.droiddriver.instrumentation;
28 private final Instrumentation instrumentation; field in InstrumentationInputInjector
30 public InstrumentationInputInjector(Instrumentation instrumentation) { in InstrumentationInputInjector() argument
31 this.instrumentation = instrumentation; in InstrumentationInputInjector()
37 instrumentation.sendPointerSync((MotionEvent) event); in injectInputEvent()
39 instrumentation.sendKeySync((KeyEvent) event); in injectInputEvent()
DInstrumentationDriver.java17 package io.appium.droiddriver.instrumentation;
65 public InstrumentationDriver(Instrumentation instrumentation) { in InstrumentationDriver() argument
66 context = new DroidDriverContext<View, ViewElement>(instrumentation, this); in InstrumentationDriver()
67 injector = new InstrumentationInputInjector(instrumentation); in InstrumentationDriver()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DRuntimeInstrumentTest.java80 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_macrobenchmark() local
81 assertEquals(benchmarkMethod, instrumentation.benchmarkMethod()); in createInstrumentation_macrobenchmark()
82 assertEquals(instrument, instrumentation.instrument()); in createInstrumentation_macrobenchmark()
83 assertEquals(MacrobenchmarkWorker.class, instrumentation.workerClass()); in createInstrumentation_macrobenchmark()
88 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_microbenchmark() local
89 assertEquals(benchmarkMethod, instrumentation.benchmarkMethod()); in createInstrumentation_microbenchmark()
90 assertEquals(instrument, instrumentation.instrument()); in createInstrumentation_microbenchmark()
91 assertEquals(RuntimeWorker.Micro.class, instrumentation.workerClass()); in createInstrumentation_microbenchmark()
96 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod); in createInstrumentation_picobenchmark() local
97 assertEquals(benchmarkMethod, instrumentation.benchmarkMethod()); in createInstrumentation_picobenchmark()
[all …]
/external/droiddriver/src/io/appium/droiddriver/base/
DDroidDriverContext.java30 private final Instrumentation instrumentation; field in DroidDriverContext
34 public DroidDriverContext(Instrumentation instrumentation, BaseDroidDriver<R, E> driver) { in DroidDriverContext() argument
35 this.instrumentation = instrumentation; in DroidDriverContext()
41 return instrumentation; in getInstrumentation()
/external/droiddriver/src/io/appium/droiddriver/util/
DInstrumentationUtils.java41 private static Instrumentation instrumentation; field in InstrumentationUtils
50 public static synchronized void init(Instrumentation instrumentation, Bundle arguments) { in init() argument
51 if (InstrumentationUtils.instrumentation != null) { in init()
54 InstrumentationUtils.instrumentation = instrumentation; in init()
62 if (instrumentation == null) { in checkInitialized()
70 return instrumentation; in getInstrumentation()
/external/droiddriver/src/io/appium/droiddriver/duo/
DDuoDriver.java25 import io.appium.droiddriver.instrumentation.InstrumentationDriver;
42 Instrumentation instrumentation = InstrumentationUtils.getInstrumentation(); in DuoDriver() local
44 uiAutomationDriver = new UiAutomationDriver(instrumentation); in DuoDriver()
45 instrumentationDriver = new InstrumentationDriver(instrumentation); in DuoDriver()
/external/llvm/test/tools/llvm-profdata/
Dtext-format-errors.test1 Tests for instrumentation profile bad encoding.
6 INVALID-COUNT-LATER: error: {{.*}}invalid-count-later.proftext: Malformed instrumentation profile d…
11 BAD-HASH: error: {{.*}}bad-hash.proftext: Malformed instrumentation profile data
15 NO-COUNTS: error: {{.*}}no-counts.proftext: Malformed instrumentation profile data
19 BINARY: error: {{.+}}: Unrecognized instrumentation profile encoding format
25 VP: Malformed instrumentation profile data
/external/droiddriver/src/io/appium/droiddriver/helpers/
DDroidDrivers.java26 import io.appium.droiddriver.instrumentation.InstrumentationDriver;
72 Instrumentation instrumentation = InstrumentationUtils.getInstrumentation(); in newDriver() local
77 .newInstance(instrumentation); in newDriver()
88 return new InstrumentationDriver(instrumentation); in newDriver()
/external/llvm/test/Instrumentation/AddressSanitizer/
Dinstrumentation-with-call-threshold.ll2 ; -asan-instrumentation-with-call-threshold
5 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=1 -S | FileCheck %s --…
6 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=0 -S | FileCheck %s --…
7 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=0 -asan-memory-access-…
8 ; RUN: opt < %s -asan -asan-module -asan-instrumentation-with-call-threshold=5 -S | FileCheck %s --…
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
DTestLogParser.java52 …public void init (DeqpInstrumentation instrumentation, String logFileName, boolean logData) throws… in init() argument
54 assert instrumentation != null; in init()
60 m_instrumentation = instrumentation; in init()
113 …private static native void nativeParse (long nativePointer, DeqpInstrumentation instrumentation, … in nativeParse() argument
/external/swiftshader/third_party/LLVM/docs/HistoricalNotes/
D2003-06-25-Reoptimizer1.txt3 First-level instrumentation
6 We use opt to do Bytecode-to-bytecode instrumentation. Look at
8 no arguments and no return value. This instrumentation is designed to
15 instrumentation on the hot loop region (the instructions between the
20 Second-level instrumentation
23 We remove the first-level instrumentation by overwriting the CALL to
59 instrumentation, by making sure that the number of times we took an
78 with a time when we will next turn instrumentation back on for that
80 that off the prio. queue and turn instrumentation back on for that
90 optimized trace does not have instrumentation. The original code and
[all …]
/external/llvm/docs/HistoricalNotes/
D2003-06-25-Reoptimizer1.txt3 First-level instrumentation
6 We use opt to do Bytecode-to-bytecode instrumentation. Look at
8 no arguments and no return value. This instrumentation is designed to
15 instrumentation on the hot loop region (the instructions between the
20 Second-level instrumentation
23 We remove the first-level instrumentation by overwriting the CALL to
59 instrumentation, by making sure that the number of times we took an
78 with a time when we will next turn instrumentation back on for that
80 that off the prio. queue and turn instrumentation back on for that
90 optimized trace does not have instrumentation. The original code and
[all …]
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationContext.java32 public UiAutomationContext(Instrumentation instrumentation, UiAutomationDriver driver) { in UiAutomationContext() argument
33 super(instrumentation, driver); in UiAutomationContext()
34 this.uiAutomation = instrumentation.getUiAutomation(); in UiAutomationContext()
DAccessibilityDriver.java38 public AccessibilityDriver(Instrumentation instrumentation) { in AccessibilityDriver() argument
39 super(instrumentation); in AccessibilityDriver()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DInlineByteBuddyMockMaker.java98 Instrumentation instrumentation;
102 instrumentation = ByteBuddyAgent.install();
103 if (!instrumentation.isRetransformClassesSupported()) {
136 instrumentation.appendToBootstrapClassLoaderSearch(new JarFile(boot)); in instrumentation.appendToBootstrapClassLoaderSearch()
159 instrumentation = null;
162 INSTRUMENTATION = instrumentation;
DInlineBytecodeGenerator.java60 private final Instrumentation instrumentation; field in InlineBytecodeGenerator
72 …public InlineBytecodeGenerator(Instrumentation instrumentation, WeakConcurrentMap<Object, MockMeth… in InlineBytecodeGenerator() argument
73 this.instrumentation = instrumentation; in InlineBytecodeGenerator()
84 instrumentation.addTransformer(this, true); in InlineBytecodeGenerator()
116 instrumentation.retransformClasses(types.toArray(new Class<?>[types.size()])); in triggerRetransformation()
/external/llvm/test/Instrumentation/MemorySanitizer/
Dinstrumentation-with-call-threshold.ll1 ; Test -msan-instrumentation-with-call-threshold
5 ; RUN: opt < %s -msan -msan-check-access-address=0 -msan-instrumentation-with-call-threshold=0 -S |…
6 ; RUN: opt < %s -msan -msan-check-access-address=0 -msan-instrumentation-with-call-threshold=0 -msa…
7 ; RUN: opt < %s -msan -msan-check-access-address=0 -msan-instrumentation-with-call-threshold=0 -msa…
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/
DAgentPremain.java33 import org.slf4j.instrumentation.LogTransformer;
52 public static void premain(String agentArgument, Instrumentation instrumentation) { in premain() argument
81 instrumentation.addTransformer(builder.build()); in premain()
/external/llvm/docs/CommandGuide/
Dllvm-profdata.rst37 generated by PGO instrumentation and merges them together into a single
79 Specify that the input profile is an instrumentation-based profile.
89 Emit the profile using a binary encoding. For instrumentation-based profile
95 sample-based and instrumentation-based profile. When this option is used
181 Specify that the input profile is an instrumentation-based profile.
186 instrumentation-based profile data representation. By default, the profile
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAggregateAllocationsRecorder.java20 import com.google.monitoring.runtime.instrumentation.Sampler;
46 com.google.monitoring.runtime.instrumentation.AllocationRecorder.addSampler(sampler); in AggregateAllocationsRecorder()
/external/clang/docs/
DSafeStack.rst11 SafeStack is an instrumentation pass that protects programs against attacks
26 The performance overhead of the SafeStack instrumentation is less than 0.1% on
78 address and the instrumentation ensures that no pointers to the safe stack are
118 the SafeStack instrumentation in final binaries.
151 to specify that the safe stack instrumentation should not be applied to that
185 on Linux the instrumentation pass finds calls to setjmp or functions that
186 may throw an exception, and inserts required instrumentation at their call
187 sites. Specifically, the instrumentation pass saves the shadow stack pointer
/external/clang/test/Profile/
DREADME1 These are tests for instrumentation based profiling. This specifically means
6 - the generation of instrumentation (-fprofile-instr-generate), and

1234567