Searched defs:instrument (Results 1 - 25 of 29) sorted by relevance

12

/external/caliper/caliper/src/main/java/com/google/caliper/runner/
H A DInstrumentComponent.java27 void injectInstrument(Instrument instrument); argument
H A DExperimentingRunnerModule.java192 throw new InvalidCommandException("%s is not a configured instrument (%s). "
206 // Make sure that the instrument is supported on the platform.
208 Instrument instrument = instrumentProvider.get();
214 instrumentComponent.injectInstrument(instrument);
215 builder.add(instrument);
221 throw new InvalidCommandException("Cannot find instrument class '%s'", className);
242 for (Instrument instrument : instruments) {
243 for (Method method : findAllBenchmarkMethods(benchmarkClass.benchmarkClass(), instrument)) {
245 builder.add(instrument.createInstrumentation(method));
258 Instrument instrument) throw
257 findAllBenchmarkMethods(Class<?> benchmarkClass, Instrument instrument) argument
[all...]
H A DInstrument.java70 * Indicates that trials using this instrument can be run in parallel with other trials.
75 * The application of an instrument to a particular benchmark method.
85 Instrument instrument() { method in class:Instrument.Instrumentation
99 return Instrument.this.equals(that.instrument())
113 .add("instrument", Instrument.this)
124 * worker. Returns all instrument options by default.
145 * Defines the list of options applicable to this instrument. Implementations that use options
154 * this instrument's worker.
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/
H A DInstrumentTask.java88 total += instrument(instrumenter, resource);
94 private int instrument(final Instrumenter instrumenter, method in class:InstrumentTask
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
H A DClassHandler.java10 void instrument(CtClass ctClass); method in interface:ClassHandler
H A DShadowWrangler.java55 public void instrument(CtClass ctClass) { method in class:ShadowWrangler
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
H A DCaliperTestWatcher.java50 private String instrument; field in class:CaliperTestWatcher
59 CaliperTestWatcher instrument(String instrument) { argument
60 this.instrument = instrument;
78 if (instrument != null) {
80 options.add(instrument);
H A DRuntimeInstrumentTest.java55 private RuntimeInstrument instrument; field in class:RuntimeInstrumentTest
58 this.instrument = new RuntimeInstrument(ShortDuration.of(100, NANOSECONDS));
67 return instrument.isBenchmarkMethod(input);
80 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod);
82 assertEquals(instrument, instrumentation.instrument());
88 Instrumentation instrumentation = instrument.createInstrumentation(benchmarkMethod);
90 assertEquals(instrument, instrumentation.instrument());
96 Instrumentation instrumentation = instrument
[all...]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/
H A DInstrumenter.java37 * Several APIs to instrument Java class definitions for coverage tracing.
77 public byte[] instrument(final ClassReader reader) { method in class:Instrumenter
98 public byte[] instrument(final byte[] buffer, final String name) method in class:Instrumenter
101 return instrument(new ClassReader(buffer));
119 public byte[] instrument(final InputStream input, final String name) method in class:Instrumenter
122 return instrument(new ClassReader(input));
141 public void instrument(final InputStream input, final OutputStream output, method in class:Instrumenter
144 output.write(instrument(new ClassReader(input)));
179 instrument(detector.getInputStream(), output, name);
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
H A DModifiedSystemClassRuntime.java16 import java.lang.instrument.ClassFileTransformer;
17 import java.lang.instrument.IllegalClassFormatException;
18 import java.lang.instrument.Instrumentation;
128 return instrument(source, accessFieldName);
155 public static byte[] instrument(final byte[] source, method in class:ModifiedSystemClassRuntime
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
H A DCyclomaticComplexityTest.java73 instrument(Simple.class);
80 instrument(Simple.class);
96 instrument(If.class);
103 instrument(If.class);
111 instrument(If.class);
131 instrument(TwoIf.class);
138 instrument(TwoIf.class);
146 instrument(TwoIf.class);
155 instrument(TwoIf.class);
175 instrument(NestedI
254 private void instrument(final Class<? extends Target> clazz) method in class:CyclomaticComplexityTest
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp64 bool instrument(Value *Ptr, Value *Val, const DataLayout &DL);
121 /// instrument - adds run-time bounds checks to memory accessing instructions.
126 bool BoundsChecking::instrument(Value *Ptr, Value *InstVal, function in class:BoundsChecking
194 MadeChange |= instrument(LI->getPointerOperand(), LI, DL);
197 instrument(SI->getPointerOperand(), SI->getValueOperand(), DL);
200 instrument(AI->getPointerOperand(), AI->getCompareOperand(), DL);
203 instrument(AI->getPointerOperand(), AI->getValOperand(), DL);
/external/javassist/src/main/javassist/
H A DCtBehavior.java642 public void instrument(CodeConverter converter) method in class:CtBehavior
655 public void instrument(ExprEditor editor) method in class:CtBehavior
H A DCtClass.java1063 * declared in the class. This method calls <code>instrument()</code>
1069 public void instrument(CodeConverter converter) method in class:CtClass
1077 * declared in the class. This method calls <code>instrument()</code>
1083 public void instrument(ExprEditor editor) method in class:CtClass
1224 * or <code>instrument()</code> cannot be called.
1243 * @see #instrument(CodeConverter)
1244 * @see #instrument(ExprEditor)
H A DCtClassType.java1361 public void instrument(CodeConverter converter) method in class:CtClassType
1375 public void instrument(ExprEditor editor) method in class:CtClassType
/external/valgrind/drd/
H A Ddrd_load_store.c593 IRSB* DRD_(instrument)(VgCallbackClosure* const closure, function
605 Bool instrument = True; local
629 instrument = VG_(DebugInfo_sect_kind)(NULL, st->Ist.IMark.addr)
648 if (instrument)
658 if (instrument)
682 if (instrument) {
699 if (instrument) {
737 if (instrument) {
774 if (instrument) {
/external/emma/core/java12/com/vladium/emma/instr/
H A DInstrVisitor.java71 * <li> if 'instrument' is true, the class definition is instrumented for
80 * NOTE: if 'instrument' is 'true', the caller should always assume that 'cls'
88 final boolean instrument, final boolean metadata,
94 if (! (instrument || metadata)) return; // nothing to do
105 m_instrument = instrument;
464 // add <clinit> (and instrument if needed) [a <clinit> is always needed
556 final int instrMethodCount = m_classInstrMethodCount; // actual number of methods to instrument may be less than the size of the block map
1813 final int instrMethodCount = visitor.m_classInstrMethodCount; // actual number of methods to instrument may be less than the size of the block map
1838 // TODO: if this method has been added by us, do not instrument its blocks
86 process(final ClassDef cls, final boolean ignoreAlreadyInstrumented, final boolean instrument, final boolean metadata, final InstrResult out) argument
/external/caliper/lib/
H A Djava-allocation-instrumenter-2.0.jar ... premain (java.lang.String, java.lang.instrument.Instrumentation) int i java.lang.instrument. ...
/external/valgrind/callgrind/
H A Dmain.c856 /* First pass over a BB to instrument, counting instructions and jumps
953 IRSB* CLG_(instrument)( VgCallbackClosure* closure, function
975 CLG_DEBUG(5, "instrument(BB %#lx) [Instrumentation OFF]\n",
980 CLG_DEBUG(3, "+ instrument(BB %#lx)\n", (Addr)closure->readdr);
1350 CLG_DEBUG(3, "- instrument(BB %#lx): byteLen %u, CJumps %u, CostLen %u\n",
2054 CLG_(instrument),
/external/guice/extensions/persist/lib/
H A Dhibernate-entitymanager.jar ... hibernate/ejb/connection/ org/hibernate/ejb/event/ org/hibernate/ejb/instrument/ org/hibernate/ejb/packaging/ org/hibernate/ejb/transaction/ org/hibernate ...
H A Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath.java package javassist ...
H A Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/hibernate/AssertionFailure.class AssertionFailure. ...
/external/testng/ant/3rdparty/
H A Dcobertura.jarMETA-INF/ META-INF/MANIFEST.MF net/ net/sourceforge/ net/sourceforge/cobertura/ net/sourceforge/cobertura/ant/ ...
/external/valgrind/memcheck/
H A Dmc_translate.c6251 IRSB* MC_(instrument) ( VgCallbackClosure* closure, function
6302 for now just use the slow and blunt-instrument solution. */
6308 mce.tmpMap = VG_(newXA)( VG_(malloc), "mc.MC_(instrument).1", VG_(free),
/external/guice/extensions/struts2/lib/
H A Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath.java package javassist ...

Completed in 1153 milliseconds

12