Home
last modified time | relevance | path

Searched full:instrument (Results 1 – 25 of 2172) sorted by relevance

12345678910>>...87

/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dop_callbacks_test.py102 # Instrument the graph with numpy_function.
182 # Instrument for the main thread.
185 # Instrument for the to-be-created thread.
229 instrument = _NumpyFunctionCallback()
232 op_callbacks.add_op_callback(instrument.callback)
236 self.assertEqual(instrument.eager_op_types, [_LOG_OP, _SQUARE_OP])
238 self.assertEqual(instrument.eager_op_names, [None, None])
239 self.assertEqual(instrument.eager_graphs, [None, None])
240 self.assertEqual(len(instrument.eager_inputs), 2)
241 self.assertEqual(len(instrument.eager_inputs[0]), 1)
[all …]
/aosp_15_r20/out/soong/.intermediates/frameworks/base/cmds/am/am/android_common/javac/
Dam.jar ... String argValue com.android.commands.am.Instrument instrument String opt } com/android/commands/ ...
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-attributes/src/
Dlib.rs5 //! [`#[instrument]`][instrument] procedural macro attribute.
22 //! The [`#[instrument]`][instrument] attribute can now be added to a function
27 //! use tracing::instrument;
29 //! #[instrument]
39 //! [instrument]: macro@self::instrument
107 /// `#[instrument]` macro, followed by an equals sign and a string literal. For
111 /// # use tracing_attributes::instrument;
114 /// #[instrument(name = "my_span")]
121 /// the `#[instrument]` macro, followed by an equals sign and a string literal
127 /// # use tracing_attributes::instrument;
[all …]
/aosp_15_r20/out/soong/raw-aosp_shiba/ce/
Dce6c6ce2d195d537778655fd0745e20249b2871399 …oncurrent-instrument/art-run-test-2011-stack-walk-concurrent-instrument/android_common/javac/art-r…
100 …oncurrent-instrument/art-run-test-2011-stack-walk-concurrent-instrument/android_common/javac/art-r…
127instrument/art-run-test-2011-stack-walk-concurrent-instrument/android_common/lint-srcs.list.rsp __…
130 …rmediates/art/test/2011-stack-walk-concurrent-instrument/art-run-test-2011-stack-walk-concurrent-i…
134 …rmediates/art/test/2011-stack-walk-concurrent-instrument/art-run-test-2011-stack-walk-concurrent-i…
138 …rmediates/art/test/2011-stack-walk-concurrent-instrument/art-run-test-2011-stack-walk-concurrent-i…
142 …rmediates/art/test/2011-stack-walk-concurrent-instrument/art-run-test-2011-stack-walk-concurrent-i…
146 …rmediates/art/test/2011-stack-walk-concurrent-instrument/art-run-test-2011-stack-walk-concurrent-i…
150 …rmediates/art/test/2011-stack-walk-concurrent-instrument/art-run-test-2011-stack-walk-concurrent-i…
154 …rmediates/art/test/2011-stack-walk-concurrent-instrument/art-run-test-2011-stack-walk-concurrent-i…
[all …]
/aosp_15_r20/out/soong/raw-aosp_shiba/6a/
D6af8f6b47bbe7634016a37bebfaa33f20b88227399 …redefine-object-instrument/art-run-test-1959-redefine-object-instrument/android_common/javac/art-r…
100 …redefine-object-instrument/art-run-test-1959-redefine-object-instrument/android_common/javac/art-r…
127instrument/art-run-test-1959-redefine-object-instrument/android_common/lint-srcs.list.rsp __SBOX_S…
130 …ong/.intermediates/art/test/1959-redefine-object-instrument/art-run-test-1959-redefine-object-inst…
134 …ong/.intermediates/art/test/1959-redefine-object-instrument/art-run-test-1959-redefine-object-inst…
138 …ong/.intermediates/art/test/1959-redefine-object-instrument/art-run-test-1959-redefine-object-inst…
142 …ong/.intermediates/art/test/1959-redefine-object-instrument/art-run-test-1959-redefine-object-inst…
146 …ong/.intermediates/art/test/1959-redefine-object-instrument/art-run-test-1959-redefine-object-inst…
150 …ong/.intermediates/art/test/1959-redefine-object-instrument/art-run-test-1959-redefine-object-inst…
154 …ong/.intermediates/art/test/1959-redefine-object-instrument/art-run-test-1959-redefine-object-inst…
[all …]
/aosp_15_r20/out/soong/.intermediates/frameworks/base/cmds/am/am/android_common/repackaged-jarjar/javac/
Dam.jar ... 0 } com/android/commands/am/Instrument.class Instrument.java package com.android. ...
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-attributes/
DCHANGELOG.md10 - Fix a compilation error in `#[instrument]` when the `"log"` feature is enabled ([#2599])
30 [`let_with_type_underscore`] in code generated by the `#[instrument]`
46 `level` to the `err` and `ret` arguments to `#[instrument]`, allowing the level
50 #[instrument(err(level = "info"))]
64 - Improved compiler error message when `#[instrument]` is added to a `const fn`
73 - Fix `clippy::unreachable` warnings in `#[instrument]`-generated code ([#2356])
79 - Improved documentation for levels in `#[instrument]` ([#2350])
96 for type errors in `#[instrument]`ed `async fn`s have the location of the
97 `#[instrument]` attribute rather than the location of the actual error, and a
98 bug where inner attributes in `#[instrument]`ed functions would cause a compiler
[all …]
/aosp_15_r20/tools/test/connectivity/acts/framework/acts/controllers/
Dattenuator.py86 "Address": attenuator.instrument.address,
95 attn.instrument.close()
158 if (attenuator.instrument.address ==
181 attenuator instrument is probably necessary. Something has gone wrong in
199 interface for accessing any step attenuator instrument comprised of one or
209 """This is the Constructor for Attenuator Instrument.
213 instrument. In some instances setting this number to zero will
230 """Sets the attenuation given its index in the instrument.
234 an instrument.
248 an instrument.
[all …]
Dabstract_inst.py16 """Python module for Abstract Instrument Library."""
24 """Abstract Instrument Error Class, via Socket and SCPI."""
27 """Init method for Socket Instrument Error.
46 """Abstract Instrument Class, via Socket and SCPI."""
49 """Init method for Socket Instrument.
82 errmsg = 'Socket timeout while connecting to instrument.'
87 errmsg = 'Socket error while connecting to instrument.'
99 self._logger.warning('Socket instrument is not connected')
111 'to instrument.').format(repr(cmd))
117 'to instrument.').format(repr(cmd))
[all …]
/aosp_15_r20/external/caliper/caliper/src/main/java/com/google/caliper/runner/
H A DExperimentingRunnerModule.java25 import com.google.caliper.runner.Instrument.Instrumentation;
158 * {@link Instrument instruments} passed to {@link #provideInstruments},
162 Class<? extends Instrument> value(); in value()
168 static Instrument provideArbitraryMeasurementInstrument() { in provideArbitraryMeasurementInstrument()
175 static Instrument provideAllocationInstrument() { in provideAllocationInstrument()
182 static Instrument provideRuntimeInstrument( in provideRuntimeInstrument()
188 static ImmutableSet<Instrument> provideInstruments( in provideInstruments()
191 Map<Class<? extends Instrument>, Provider<Instrument>> availableInstruments, in provideInstruments() argument
196 ImmutableSet.Builder<Instrument> builder = ImmutableSet.builder(); in provideInstruments()
200 throw new InvalidCommandException("%s is not a configured instrument (%s). " in provideInstruments()
[all …]
/aosp_15_r20/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java84 if (op.equals("instrument")) { in onRun()
157 Instrument instrument = new Instrument(mAm, mPm); in runInstrument() local
162 instrument.profileFile = nextArgRequired(); in runInstrument()
164 instrument.wait = true; in runInstrument()
166 instrument.rawMode = true; in runInstrument()
168 instrument.protoStd = true; in runInstrument()
170 instrument.protoFile = true; in runInstrument()
172 instrument.logPath = nextArg(); in runInstrument()
176 instrument.args.putString(argKey, argValue); in runInstrument()
179 instrument.noWindowAnimation = true; in runInstrument()
[all …]
/aosp_15_r20/external/ComputeLibrary/tests/framework/
H A DProfiler.cpp35 void Profiler::add(std::unique_ptr<Instrument> instrument) in add() argument
37 _instruments.emplace_back(std::move(instrument)); in add()
42 for(auto &instrument : _instruments) in test_start() local
44 instrument->test_start(); in test_start()
50 for(auto &instrument : _instruments) in start() local
52 instrument->start(); in start()
58 for(auto instrument = _instruments.rbegin(); instrument != _instruments.rend(); instrument++) in stop() local
60 (*instrument)->stop(); in stop()
62 for(const auto &instrument : _instruments) in stop() local
64 for(const auto &measurement : instrument->measurements()) in stop()
[all …]
H A DFramework.cpp55 …caleFactor>(InstrumentType::WALL_CLOCK_TIMESTAMPS, ScaleFactor::NONE), Instrument::make_instrument… in Framework()
57Instrument::make_instrument<WallClockTimestamps, ScaleFactor::TIME_MS>); in Framework()
59Instrument::make_instrument<WallClockTimestamps, ScaleFactor::TIME_S>); in Framework()
60 …pe, ScaleFactor>(InstrumentType::WALL_CLOCK_TIMER, ScaleFactor::NONE), Instrument::make_instrument… in Framework()
61 … ScaleFactor>(InstrumentType::WALL_CLOCK_TIMER, ScaleFactor::TIME_MS), Instrument::make_instrument… in Framework()
62 …, ScaleFactor>(InstrumentType::WALL_CLOCK_TIMER, ScaleFactor::TIME_S), Instrument::make_instrument… in Framework()
63 …ScaleFactor>(InstrumentType::SCHEDULER_TIMESTAMPS, ScaleFactor::NONE), Instrument::make_instrument… in Framework()
65Instrument::make_instrument<SchedulerTimestamps, ScaleFactor::TIME_MS>); in Framework()
67Instrument::make_instrument<SchedulerTimestamps, ScaleFactor::TIME_S>); in Framework()
68 …ype, ScaleFactor>(InstrumentType::SCHEDULER_TIMER, ScaleFactor::NONE), Instrument::make_instrument… in Framework()
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dcellular_power_preset_base_test.py19 …_CMD_DISABLE_TXAS = 'am instrument -w -e request at+googtxas=2 -e response wait "com.google.mdstes…
20 …ADB_CMD_GET_TXAS = 'am instrument -w -e request at+googtxas? -e response wait "com.google.mdstest/…
22 ADB_CMD_SET_NV = ('am instrument -w '
24 …'-e response wait "com.google.mdstest/com.google.mdstest.instrument.ModemATCommandInstrumentation"…
59instrument -w -e request at+GOOGSETNV=\"!SAEL3.Manual.Band.Select\ Enb\/\ Dis\",00,\"01\" -e respo…
60instrument -w -e request at+GOOGSETNV=\"!SAEL3.Manual.Enabled.RFBands.BitMap\",0,\"0B,00,00,00,00,…
61instrument -w -e request at+GOOGSETNV=\"!SAEL3.Manual.Enabled.RFBands.BitMap\",1,\"00,00,00,00,00,…
62instrument -w -e request at+GOOGSETNV=\"!SAEL3.Manual.Enabled.RFBands.BitMap\",2,\"00,00,00,00,00,…
63instrument -w -e request at+GOOGSETNV=\"!SAEL3.Manual.Enabled.RFBands.BitMap\",3,\"00,00,00,00,00,…
78instrument -w -e request at+GOOGSETNV=\"!NRRRC.SIM_BASED_BAND_LIST_SUPPORT\",00,\"01\" -e response…
[all …]
/aosp_15_r20/external/ComputeLibrary/tests/framework/instruments/
H A DInstruments.h73 …ne ::std::stringstream &operator>>(::std::stringstream &stream, InstrumentsDescription &instrument)
77 instrument = instrument_type_from_name(value);
81 …ine ::std::stringstream &operator<<(::std::stringstream &stream, InstrumentsDescription instrument)
83 switch(instrument.first)
86 switch(instrument.second)
98 throw std::invalid_argument("Unsupported instrument scale");
102 switch(instrument.second)
114 throw std::invalid_argument("Unsupported instrument scale");
118 switch(instrument.second)
130 throw std::invalid_argument("Unsupported instrument scale");
[all …]
H A DInstrument.h50 class Instrument
53 /** Helper function to create an instrument of the given type.
55 * @return Instance of an instrument of the given type.
58 static std::unique_ptr<Instrument> make_instrument();
61 Instrument() = default;
64 Instrument(const Instrument &) = default;
66 Instrument(Instrument &&) = default;
68 Instrument &operator=(const Instrument &) = default;
70 Instrument &operator=(Instrument &&) = default;
72 virtual ~Instrument() = default;
[all …]
/aosp_15_r20/external/autotest/server/cros/cellular/
H A Dabstract_inst.py4 """Python module for Abstract Instrument Library."""
12 """Abstract Instrument Error Class, via Socket and SCPI."""
15 """Init method for Socket Instrument Error.
34 """Abstract Instrument Class, via Socket and SCPI."""
37 """Init method for Socket Instrument.
69 errmsg = 'Socket timeout while connecting to instrument.'
73 errmsg = 'Socket error while connecting to instrument.'
93 'to instrument.').format(repr(cmd))
98 'to instrument.').format(repr(cmd))
103 'to instrument.').format(repr(cmd), repr(err))
[all …]
/aosp_15_r20/external/grpc-grpc/src/cpp/ext/otel/
H A Dotel_plugin.cc258 ot_plugin_->instruments_data_.at(handle.index).instrument); in CallbackMetricReporter()
265 ot_plugin_->instruments_data_.at(handle.index).instrument); in CallbackMetricReporter()
278 &instrument_data.instrument); in Report()
307 &instrument_data.instrument); in Report()
450 instruments_data_[descriptor.index].instrument = in OpenTelemetryPlugin()
457 instruments_data_[descriptor.index].instrument = in OpenTelemetryPlugin()
472 instruments_data_[descriptor.index].instrument = in OpenTelemetryPlugin()
479 instruments_data_[descriptor.index].instrument = in OpenTelemetryPlugin()
504 observable_state->instrument = in OpenTelemetryPlugin()
509 instruments_data_[descriptor.index].instrument = in OpenTelemetryPlugin()
[all …]
/aosp_15_r20/external/caliper/caliper/src/main/resources/com/google/caliper/config/
H A Dglobal-config.properties30 # INSTRUMENT CONFIG
33 # To define new instrument configurations, provide an "instrument.<name>.class" property
34 # pointing to a concrete class that extends com.google.caliper.runner.Instrument, and add
35 # whichever other options it supports using "instrument.<name>.<optionName>=<value>".
37 # Instrument "runtime"
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
[all …]
/aosp_15_r20/out/soong/.intermediates/frameworks/base/cmds/am/am/android_common/turbine/
Dam.jar ... Exception } com/android/commands/am/Instrument$StatusReporter.class <Unknown> package com. ...
/aosp_15_r20/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/
H A DCyclomaticComplexityTest.java74 instrument(Simple.class); in testSimple1()
81 instrument(Simple.class); in testSimple2()
97 instrument(If.class); in testIf1()
104 instrument(If.class); in testIf2()
112 instrument(If.class); in testIf3()
132 instrument(TwoIf.class); in testTwoIf1()
139 instrument(TwoIf.class); in testTwoIf2()
147 instrument(TwoIf.class); in testTwoIf3()
156 instrument(TwoIf.class); in testTwoIf4()
176 instrument(NestedIf.class); in testNestedIf1()
[all …]
/aosp_15_r20/external/caliper/caliper/src/test/java/com/google/caliper/runner/
H A DRuntimeInstrumentTest.java28 import com.google.caliper.runner.Instrument.Instrumentation;
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()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-attributes/tests/
Dasync_fn.rs6 use tracing_attributes::instrument;
8 #[instrument]
18 #[instrument]
26 #[instrument(err)]
31 #[instrument]
37 #[instrument]
44 #[instrument]
58 #[instrument]
67 #[instrument]
76 #[instrument(ret, err)]
[all …]
Dlevels.rs3 use tracing_attributes::instrument;
8 #[instrument(level = "trace")] in named_levels()
11 #[instrument(level = "Debug")] in named_levels()
14 #[instrument(level = "INFO")] in named_levels()
17 #[instrument(level = "WARn")] in named_levels()
20 #[instrument(level = "eRrOr")] in named_levels()
54 #[instrument(level = 1)] in numeric_levels()
57 #[instrument(level = 2)] in numeric_levels()
60 #[instrument(level = 3)] in numeric_levels()
63 #[instrument(level = 4)] in numeric_levels()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tracing/
DCHANGELOG.md4 `Instrument::into_inner` method. Only uses of this method are affected by this
9 - Use `mem::ManuallyDrop` instead of `mem::forget` in `Instrument::into_inner`
42 - **attributes**: Fix a compilation error in `#[instrument]` when the `"log"`
85 `tracing-attributes` v0.1.24 also includes improvements to the `#[instrument]`
96 - **attributes**: `level` argument to `#[instrument(err)]` and
97 `#[instrument(ret)]` to override the level of
99 - **attributes**: Improved compiler error message when `#[instrument]` is added to a `const fn`
110 - **attributes**: Fix `clippy::unreachable` warnings in `#[instrument]`-generated code ([#2356])
115 - **attributes**: Documented default level for `#[instrument(err)]` ([#2433])
116 - **attributes**: Improved documentation for levels in `#[instrument]` ([#2350])
[all …]

12345678910>>...87