Home
last modified time | relevance | path

Searched full:instrumentation (Results 1 – 25 of 1013) sorted by relevance

12345678910>>...41

/external/swiftshader/third_party/subzero/src/
DIceInstrumentation.h1 //===- subzero/src/IceInstrumentation.h - ICE instrumentation ---*- C++ -*-===//
11 /// \brief Declares the Ice::Instrumentation class.
13 /// Instrumentation is an abstract class used to drive the instrumentation
16 /// Cfg. Although Instrumentation is an abstract class, each of its virtual
20 /// If instrumentation is required by the command line arguments, a single
21 /// Instrumentation subclass is instantiated and installed in the
22 /// GlobalContext. If multiple types of instrumentation are requested, a single
23 /// subclass is still responsible for driving the instrumentation, but it can
24 /// use other Instrumentation subclasses however it needs to.
39 class Instrumentation {
[all …]
DIceInstrumentation.cpp1 //===- subzero/src/IceInstrumentation.cpp - ICE instrumentation framework -===//
11 /// \brief Implements the Ice::Instrumentation class.
13 /// Subclasses can override particular instrumentation methods to specify how
28 void Instrumentation::instrumentFunc(Cfg *Func) { in instrumentFunc()
59 void Instrumentation::instrumentInst(LoweringContext &Context) { in instrumentInst()
116 assert(false && "Instrumentation encountered an unexpected instruction"); in instrumentInst()
121 void Instrumentation::setHasSeenGlobals() { in setHasSeenGlobals()
129 LockedPtr<VariableDeclarationList> Instrumentation::getGlobals() { in getGlobals()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DExperiment.java21 import com.google.caliper.runner.Instrument.Instrumentation;
35 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()
DFullCartesianExperimentSelector.java19 import com.google.caliper.runner.Instrument.Instrumentation;
41 private ImmutableSet<Instrumentation> instrumentations;
46 ImmutableSet<Instrumentation> instrumentations, in FullCartesianExperimentSelector()
57 .transform(new Function<Instrumentation, Instrument>() { in instruments()
58 @Override public Instrument apply(Instrumentation input) { in instruments()
75 for (Instrumentation instrumentation : instrumentations) {
80 experiments.add(new Experiment(instrumentation, theseUserParams, vm));
DWorkerProcess.java24 import com.google.caliper.runner.Instrument.Instrumentation;
150 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;
19 import android.app.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;
20 import android.app.Instrumentation;
34 /** Implementation of DroidDriver that is driven via 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/droiddriver/src/io/appium/droiddriver/base/
DDroidDriverContext.java19 import android.app.Instrumentation;
30 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()
40 public Instrumentation getInstrumentation() { in getInstrumentation()
41 return instrumentation; in getInstrumentation()
/external/llvm/include/llvm/Transforms/
DInstrumentation.h1 //===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===//
10 // This file defines constructor functions for instrumentation passes.
39 /// Instrumentation passes often insert conditional checks into entry blocks.
50 // Insert GCOV profiling instrumentation
88 /// Options for the frontend instrumentation based profiling pass.
99 /// Insert frontend instrumentation based profiling.
103 // Insert AddressSanitizer (address sanity checking) instrumentation
110 // Insert MemorySanitizer instrumentation (detection of uninitialized reads)
113 // Insert ThreadSanitizer (race detection) instrumentation
116 // Insert DataFlowSanitizer (dynamic data flow analysis) instrumentation
[all …]
/external/droiddriver/src/io/appium/droiddriver/util/
DInstrumentationUtils.java19 import android.app.Instrumentation;
33 /** Static utility methods pertaining to {@link Instrumentation}. */
41 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()
68 public static Instrumentation getInstrumentation() { in getInstrumentation()
70 return instrumentation; in getInstrumentation()
139 * <p>This is a safer variation of {@link Instrumentation#runOnMainSync} because the latter may
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DRuntimeInstrumentTest.java28 import com.google.caliper.runner.Instrument.Instrumentation;
80 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
[all …]
/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/swiftshader/third_party/LLVM/include/llvm/Transforms/
DInstrumentation.h1 //===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===//
10 // This file defines constructor functions for instrumentation passes.
21 // Insert edge profiling instrumentation
24 // Insert optimal edge profiling instrumentation
27 // Insert path profiling instrumentation
30 // Insert GCOV profiling instrumentation
/external/droiddriver/src/io/appium/droiddriver/duo/
DDuoDriver.java21 import android.app.Instrumentation;
25 import io.appium.droiddriver.instrumentation.InstrumentationDriver;
32 * If the activity is part of the application under instrumentation, the InstrumentationDriver is
42 Instrumentation instrumentation = InstrumentationUtils.getInstrumentation(); in DuoDriver() local
44 uiAutomationDriver = new UiAutomationDriver(instrumentation); in DuoDriver()
45 instrumentationDriver = new InstrumentationDriver(instrumentation); in DuoDriver()
/external/droiddriver/src/io/appium/droiddriver/helpers/
DDroidDrivers.java20 import android.app.Instrumentation;
26 import io.appium.droiddriver.instrumentation.InstrumentationDriver;
68 * fully-qualified-class-name and create a new instance of it with {@code instrumentation} as the
72 Instrumentation instrumentation = InstrumentationUtils.getInstrumentation(); in newDriver() local
76 return (DroidDriver) Class.forName(driverClass).getConstructor(Instrumentation.class) in newDriver()
77 .newInstance(instrumentation); in newDriver()
88 return new InstrumentationDriver(instrumentation); in newDriver()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DInlineByteBuddyMockMaker.java23 import java.lang.instrument.Instrumentation;
35 …* This mock maker which uses a combination of the Java instrumentation API and sub-classing rather…
93 private static final Instrumentation INSTRUMENTATION; field in InlineByteBuddyMockMaker
98 Instrumentation instrumentation;
102 instrumentation = ByteBuddyAgent.install();
103 if (!instrumentation.isRetransformClassesSupported()) {
136 instrumentation.appendToBootstrapClassLoaderSearch(new JarFile(boot)); in instrumentation.appendToBootstrapClassLoaderSearch()
149 … "It seems like your current VM does not support the instrumentation API correctly."), cnfe);
156 … "Potentially, the current VM does not support the instrumentation API correctly"), ioe);
159 instrumentation = null;
[all …]
DInlineBytecodeGenerator.java33 import java.lang.instrument.Instrumentation;
60 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/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/
DAgentPremain.java29 import java.lang.instrument.Instrumentation;
33 import org.slf4j.instrumentation.LogTransformer;
49 * @param instrumentation
50 * instrumentation environment provided by the JVM
52 public static void premain(String agentArgument, Instrumentation instrumentation) { in premain() argument
81 instrumentation.addTransformer(builder.build()); in premain()
91 * string given by instrumentation framework
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DModifiedSystemClassRuntimeTest.java21 import java.lang.instrument.Instrumentation;
44 Instrumentation inst = newInstrumentationMock(); in testCreateForNegative()
54 * Note that we use Proxy here to mock {@link Instrumentation}, because JDK
58 private Instrumentation newInstrumentationMock() { in newInstrumentationMock()
59 return (Instrumentation) Proxy.newProxyInstance(getClass() in newInstrumentationMock()
60 .getClassLoader(), new Class[] { Instrumentation.class }, in newInstrumentationMock()
70 * {@link Instrumentation#addTransformer(ClassFileTransformer)}
92 * {@link Instrumentation#removeTransformer(ClassFileTransformer)}
/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/uiautomation/
DUiAutomationContext.java20 import android.app.Instrumentation;
32 public UiAutomationContext(Instrumentation instrumentation, UiAutomationDriver driver) { in UiAutomationContext() argument
33 super(instrumentation, driver); in UiAutomationContext()
34 this.uiAutomation = instrumentation.getUiAutomation(); in UiAutomationContext()
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DLLVMInstrumentation.vcxproj107 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
127 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
130 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
141 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
162 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
165 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
176 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
203 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
206 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
217 …<AdditionalIncludeDirectories>..\Instrumentation;..\..\..\include;%(AdditionalIncludeDirectories)<…
[all …]
/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/compiler-rt/lib/profile/
DInstrProfiling.h1 /*===- InstrProfiling.h- Support library for PGO instrumentation ----------===*\
53 * \brief Write instrumentation data to the given buffer.
110 * \brief Write instrumentation data to the current file.
122 * \brief Set the filename for writing instrumentation data.
133 * \brief Set the filename for writing instrumentation data, unless the
145 /*! \brief Register to write instrumentation data to file at exit. */
175 * such as whether the profile is from IR based instrumentation. The variable

12345678910>>...41