Home
last modified time | relevance | path

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

12345678910>>...61

/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 …]
/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));
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/
DAgentMain.java25 import io.opencensus.contrib.agent.instrumentation.Instrumenter;
26 import java.lang.instrument.Instrumentation;
45 …//github.com/census-instrumentation/instrumentation-java/tree/master/agent">https://github.com/cen…
58 * @param instrumentation the {@link Instrumentation} object provided by the JVM for instrumenting
64 public static void premain(String agentArgs, Instrumentation instrumentation) throws Exception { in premain() argument
65 checkNotNull(instrumentation, "instrumentation"); in premain()
72 instrumentation.appendToBootstrapClassLoaderSearch( in premain()
88 agentBuilder.installOn(instrumentation); in premain()
/external/llvm-project/clang/test/CodeGen/
Dxray-instrumentation-bundles.cpp1 // RUN: %clang_cc1 -fxray-instrument -fxray-instrumentation-bundle=none -x c++ \
4 // RUN: %clang_cc1 -fxray-instrument -fxray-instrumentation-bundle=function -x c++ \
8 // RUN: -fxray-instrumentation-bundle=custom -x c++ \
12 // RUN: -fxray-instrumentation-bundle=typed -x c++ \
16 // RUN: -fxray-instrumentation-bundle=custom,typed -x c++ \
20 // RUN: -fxray-instrumentation-bundle=function,custom -x c++ \
24 // RUN: -fxray-instrumentation-bundle=function,typed -x c++ \
28 // RUN: -fxray-instrumentation-bundle=function,custom,typed -x c++ \
32 // RUN: -fxray-instrumentation-bundle=function \
33 // RUN: -fxray-instrumentation-bundle=custom \
[all …]
/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/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/javassist/src/main/javassist/util/
DHotSwapAgent.java22 import java.lang.instrument.Instrumentation;
44 * {@code java.lang.instrument.Instrumentation}. For details
46 * see the {@code Instrumentation} interface.
81 private static Instrumentation instrumentation = null; field in HotSwapAgent
84 * Obtains the {@code Instrumentation} object.
88 public Instrumentation instrumentation() { return instrumentation; } in instrumentation() method in HotSwapAgent
93 public static void premain(String agentArgs, Instrumentation inst) throws Throwable { in premain()
100 public static void agentmain(String agentArgs, Instrumentation inst) throws Throwable { in agentmain()
104 instrumentation = inst; in agentmain()
130 instrumentation.redefineClasses(defs); in redefine()
[all …]
/external/llvm-project/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/opencensus-java/
DREADME.md16 Please join [gitter](https://gitter.im/census-instrumentation/Lobby) for help or feedback on this
22 …n please see [Quickstart for Applications](https://github.com/census-instrumentation/opencensus-ja…
117 [here](https://github.com/census-instrumentation/opencensus-java/blob/master/examples/src/main/java…
191 setup exporters, and debugging [Z-Pages](https://github.com/census-instrumentation/opencensus-java/…
268 see this [link](https://github.com/census-instrumentation/opencensus-java/tree/master/contrib/zpage…
286 [travis-image]: https://travis-ci.org/census-instrumentation/opencensus-java.svg?branch=master
287 [travis-url]: https://travis-ci.org/census-instrumentation/opencensus-java
294 [gitter-image]: https://badges.gitter.im/census-instrumentation/lobby.svg
295 [gitter-url]: https://gitter.im/census-instrumentation/lobby?utm_source=badge&utm_medium=badge&utm_…
296 [codecov-image]: https://codecov.io/gh/census-instrumentation/opencensus-java/branch/master/graph/b…
[all …]
/external/llvm-project/llvm/test/tools/llvm-profdata/
Dtext-format-errors.test1 Tests for instrumentation profile bad encoding.
5 INVALID-COUNT-LATER-SHOW: error: {{.*}}invalid-count-later.proftext: Malformed instrumentation prof…
9 INVALID-COUNT-LATER-MERGE: warning: {{.*}}invalid-count-later.proftext: Malformed instrumentation p…
10 …TER-MERGE-NEXT: warning: {{.*}}invalid-count-later.proftext: Malformed instrumentation profile data
15 BAD-HASH-SHOW: error: {{.*}}bad-hash.proftext: Malformed instrumentation profile data
18 BAD-HASH-MERGE: warning: {{.*}}bad-hash.proftext: Malformed instrumentation profile data
23 NO-COUNTS: error: {{.*}}no-counts.proftext: Malformed instrumentation profile data
27 BINARY: error: {{.+}}: Unrecognized instrumentation profile encoding format
33 VP: Malformed instrumentation profile data
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPassInstrumentation.h10 /// This file defines the Pass Instrumentation classes that provide
11 /// instrumentation points into the pass execution by PassManager.
14 /// - PassInstrumentation provides a set of instrumentation points for
23 /// Intended scheme of use for Pass Instrumentation is as follows:
24 /// - register instrumentation callbacks in PassInstrumentationCallbacks
43 /// - Some instrumentation points (BeforePass) allow to control execution
49 /// how pass instrumentation affects pass execution.
76 // in a safe way, and we might pursue that as soon as there is a useful instrumentation
127 /// This class provides instrumentation entry points for the Pass Manager,
140 /// BeforePass instrumentation point - takes \p Pass instance to be executed
[all …]
/external/llvm-project/llvm/test/Instrumentation/AddressSanitizer/
Dinstrumentation-with-call-threshold.ll2 ; -asan-instrumentation-with-call-threshold
5 ; RUN: opt < %s -asan -asan-module -enable-new-pm=0 -asan-instrumentation-with-call-threshold=1 -S …
6 ; RUN: opt < %s -passes='asan-pipeline' -asan-instrumentation-with-call-threshold=1 -S | FileCheck …
7 ; RUN: opt < %s -asan -asan-module -enable-new-pm=0 -asan-instrumentation-with-call-threshold=0 -S …
8 ; RUN: opt < %s -passes='asan-pipeline' -asan-instrumentation-with-call-threshold=0 -S | FileCheck …
9 ; RUN: opt < %s -asan -asan-module -enable-new-pm=0 -asan-instrumentation-with-call-threshold=0 -as…
10 ; RUN: opt < %s -passes='asan-pipeline' -asan-instrumentation-with-call-threshold=0 -asan-memory-ac…
11 ; RUN: opt < %s -asan -asan-module -enable-new-pm=0 -asan-instrumentation-with-call-threshold=5 -S …
12 ; RUN: opt < %s -passes='asan-pipeline' -asan-instrumentation-with-call-threshold=5 -S | FileCheck …
/external/ruy/ruy/profiler/
DBUILD18 srcs = ["instrumentation.h"],
23 name = "instrumentation",
24 srcs = ["instrumentation.cc"],
25 hdrs = ["instrumentation.h"],
46 deps = [":instrumentation"],
54 deps = [":instrumentation"],
/external/llvm-project/llvm/include/llvm/Transforms/
DInstrumentation.h1 //===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===//
9 // This file defines constructor functions for instrumentation passes.
33 /// Instrumentation passes often insert conditional checks into entry blocks.
52 // Insert GCOV profiling instrumentation
83 // instrumentation.
121 /// Options for the frontend instrumentation based profiling pass.
141 /// Insert frontend instrumentation based profiling. Parameter IsCS indicates if
142 // this is the context senstive instrumentation.
148 // Insert DataFlowSanitizer (dynamic data flow analysis) instrumentation
152 // Options for sanitizer coverage instrumentation.
/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 …]
/external/llvm-project/llvm/docs/
DXRay.rst2 XRay Instrumentation
15 instrumentation points and a runtime library that can dynamically enable and
16 disable the instrumentation.
27 - Compiler-inserted instrumentation points.
36 The compiler-inserted instrumentation points come in the form of nop-sleds in
38 contains entries pointing to these instrumentation points. The runtime library
40 overwrite the instrumentation points at runtime.
56 The easiest way of getting XRay instrumentation for your application is by
66 get XRay instrumentation points. You can tweak that number through the
148 instrumentation points. When you use ``clang`` to link your binaries and the
[all …]
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DPreMain.java14 import java.lang.instrument.Instrumentation;
40 * instrumentation callback provided by the JVM
44 public static void premain(final String options, final Instrumentation inst) in premain()
57 private static IRuntime createRuntime(final Instrumentation inst) in createRuntime()
77 final Instrumentation instrumentation) throws Exception { in redefineJavaBaseModule() argument
84 Instrumentation.class.getMethod("redefineModule", // in redefineJavaBaseModule()
91 ).invoke(instrumentation, // instance in redefineJavaBaseModule()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/
DInstrumentation.h1 //===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===//
9 // This file defines constructor functions for instrumentation passes.
32 /// Instrumentation passes often insert conditional checks into entry blocks.
51 // Insert GCOV profiling instrumentation
91 // instrumentation.
128 /// Options for the frontend instrumentation based profiling pass.
148 /// Insert frontend instrumentation based profiling. Parameter IsCS indicates if
149 // this is the context senstive instrumentation.
155 // Insert DataFlowSanitizer (dynamic data flow analysis) instrumentation
160 // Options for sanitizer coverage instrumentation.
/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/llvm-project/llvm/include/llvm/IR/
DPassInstrumentation.h10 /// This file defines the Pass Instrumentation classes that provide
11 /// instrumentation points into the pass execution by PassManager.
14 /// - PassInstrumentation provides a set of instrumentation points for
23 /// Intended scheme of use for Pass Instrumentation is as follows:
24 /// - register instrumentation callbacks in PassInstrumentationCallbacks
43 /// - Some instrumentation points (BeforePass) allow to control execution
76 // useful instrumentation that needs it.
126 /// Add a class name to pass name mapping for use by pass instrumentation.
161 /// This class provides instrumentation entry points for the Pass Manager,
194 /// BeforePass instrumentation point - takes \p Pass instance to be executed
[all …]
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/
DInstrumentationUtils.java7 import android.app.Instrumentation;
14 * Utility methods built around the android.app.Instrumentation class.
21 public static <R> R runOnMainSyncAndGetResult(Instrumentation instrumentation, in runOnMainSyncAndGetResult() argument
24 instrumentation.runOnMainSync(task); in runOnMainSyncAndGetResult()
/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-project/llvm/test/Instrumentation/MemorySanitizer/
Dinstrumentation-with-call-threshold.ll1 ; Test -msan-instrumentation-with-call-threshold
6 ; RUN: -msan-instrumentation-with-call-threshold=0 -S -passes=msan 2>&1 | \
8 ; RUN: opt < %s -msan -msan-check-access-address=0 -msan-instrumentation-with-call-threshold=0 -S |…
10 ; RUN: -msan-instrumentation-with-call-threshold=0 -msan-track-origins=1 -S \
13 ; RUN: opt < %s -msan -msan-check-access-address=0 -msan-instrumentation-with-call-threshold=0 -msa…
15 ; RUN: -msan-instrumentation-with-call-threshold=0 -msan-track-origins=2 -S \
18 ; RUN: opt < %s -msan -msan-check-access-address=0 -msan-instrumentation-with-call-threshold=0 -msa…

12345678910>>...61