/external/tensorflow/tensorflow/python/framework/ |
D | op_callbacks_test.py | 102 # 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 …]
|
/external/ComputeLibrary/tests/framework/ |
D | Profiler.cpp | 35 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 …]
|
D | Framework.cpp | 55 …caleFactor>(InstrumentType::WALL_CLOCK_TIMESTAMPS, ScaleFactor::NONE), Instrument::make_instrument… in Framework() 57 … Instrument::make_instrument<WallClockTimestamps, ScaleFactor::TIME_MS>); in Framework() 59 … Instrument::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() 65 … Instrument::make_instrument<SchedulerTimestamps, ScaleFactor::TIME_MS>); in Framework() 67 … Instrument::make_instrument<SchedulerTimestamps, ScaleFactor::TIME_S>); in Framework() 68 …ype, ScaleFactor>(InstrumentType::SCHEDULER_TIMER, ScaleFactor::NONE), Instrument::make_instrument… in Framework() [all …]
|
D | Profiler.h | 27 #include "instruments/Instrument.h" 48 /** Mapping from instrument ids to their measurements. */ 51 /** Add @p instrument to the performance monitor. 56 * @param[in] instrument Instrument to be used to measure performance. 58 void add(std::unique_ptr<Instrument> instrument); 97 std::vector<std::unique_ptr<Instrument>> _instruments{};
|
/external/autotest/server/cros/cellular/ |
D | abstract_inst.py | 4 """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 …]
|
/external/rust/android-crates-io/crates/tracing-attributes/src/ |
D | lib.rs | 5 //! [`#[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 108 /// `#[instrument]` macro, followed by an equals sign and a string literal. For 112 /// # use tracing_attributes::instrument; 115 /// #[instrument(name = "my_span")] 122 /// the `#[instrument]` macro, followed by an equals sign and a string literal 128 /// # use tracing_attributes::instrument; [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ExperimentingRunnerModule.java | 25 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 …]
|
D | Instrument.java | 43 public abstract class Instrument { class 70 * 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. 77 // TODO(gak): consider passing in Instrument explicitly for DI 85 Instrument instrument() { in instrument() method in Instrument.Instrumentation 86 return Instrument.this; in instrument() 99 return Instrument.this.equals(that.instrument()) in equals() 107 return Objects.hashCode(Instrument.this, benchmarkMethod); in hashCode() 113 .add("instrument", Instrument.this) in toString() 124 * worker. Returns all instrument options by default. [all …]
|
/external/caliper/caliper/src/main/resources/com/google/caliper/config/ |
D | global-config.properties | 30 # 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 …]
|
D | default-config.properties | 4 # INSTRUMENT CONFIG 5 # instrument.micro.options.warmup=10s 6 # instrument.micro.options.timingInterval=500ms 7 # instrument.micro.options.reportedIntervals=7 8 # instrument.micro.options.maxRuntime=10s
|
/external/ComputeLibrary/tests/framework/instruments/ |
D | Instruments.h | 73 …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 …]
|
D | Instrument.h | 50 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 …]
|
/external/rust/android-crates-io/crates/tracing-attributes/ |
D | CHANGELOG.md | 9 - Added missing RecordTypes for instrument ([#2781]) 36 - Fix a compilation error in `#[instrument]` when the `"log"` feature is enabled ([#2599]) 56 [`let_with_type_underscore`] in code generated by the `#[instrument]` 72 `level` to the `err` and `ret` arguments to `#[instrument]`, allowing the level 76 #[instrument(err(level = "info"))] 90 - Improved compiler error message when `#[instrument]` is added to a `const fn` 99 - Fix `clippy::unreachable` warnings in `#[instrument]`-generated code ([#2356]) 105 - Improved documentation for levels in `#[instrument]` ([#2350]) 122 for type errors in `#[instrument]`ed `async fn`s have the location of the 123 `#[instrument]` attribute rather than the location of the actual error, and a [all …]
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
D | RuntimeInstrumentTest.java | 28 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 …]
|
/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/ |
D | CyclomaticComplexityTest.java | 74 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 …]
|
/external/rust/android-crates-io/crates/tracing-attributes/tests/ |
D | levels.rs | 3 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 …]
|
D | async_fn.rs | 5 use tracing_attributes::instrument; 9 #[instrument] 19 #[instrument] 27 #[instrument(err)] 32 #[instrument] 35 #[instrument] 41 #[instrument] 48 #[instrument] 62 #[instrument] 71 #[instrument] [all …]
|
D | fields.rs | 2 use tracing_attributes::instrument; 5 #[instrument(fields(foo = "bar", dsa = true, num = 1))] 8 #[instrument(fields(foo = "bar"))] 11 #[instrument(fields(foo = "bar", empty))] 14 #[instrument(fields(len = s.len()))] 17 #[instrument(fields(s.len = s.len(), s.is_empty = s.is_empty()))] 22 #[instrument(fields(%s, s.len = s.len()))] 27 #[instrument(fields(s = "s"))] 32 #[instrument(fields(s = &s))] 37 #[instrument(fields(keywords.impl.type.fn = _arg), skip(_arg))] [all …]
|
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
D | InstrumentTaskTest.xml | 15 <project name="JaCoCo Instrument Task Tests" xmlns:au="antlib:org.apache.ant.antunit" xmlns:jacoco=… 29 <jacoco:instrument/> 39 <jacoco:instrument destdir="${temp.dir}/output"> 41 </jacoco:instrument> 47 <jacoco:instrument destdir="${temp.dir}"> 49 </jacoco:instrument> 63 <jacoco:instrument destdir="${instr.dir}"> 65 </jacoco:instrument> 84 <jacoco:instrument destdir="${instr.dir}" removesignatures="false"> 86 </jacoco:instrument> [all …]
|
/external/rust/android-crates-io/crates/tracing-attributes/tests/ui/ |
D | async_instrument.rs | 3 #[tracing::instrument] 8 #[tracing::instrument] 14 #[tracing::instrument] 21 #[tracing::instrument] 26 #[tracing::instrument] 33 #[tracing::instrument] 41 #[tracing::instrument]
|
/external/aws-crt-java/src/test/android/testapp/ |
D | instrumentedTestSpec.yml | 23 adb -s $DEVICEFARM_DEVICE_UDID shell "am instrument -r -w --no-window-animation \ 25 tee $DEVICEFARM_LOG_DIR/instrument.log 35 …DID_ANY_TESTS_START=$(grep "INSTRUMENTATION_STATUS_CODE: 1" $DEVICEFARM_LOG_DIR/instrument.log | w… 36 … TESTS_PASSED=$(grep "INSTRUMENTATION_STATUS_CODE: 0" $DEVICEFARM_LOG_DIR/instrument.log | wc -l); 37 …TESTS_ERRORED=$(grep "INSTRUMENTATION_STATUS_CODE: -1" $DEVICEFARM_LOG_DIR/instrument.log | wc -l); 38 … TESTS_FAILED=$(grep "INSTRUMENTATION_STATUS_CODE: -2" $DEVICEFARM_LOG_DIR/instrument.log | wc -l); 39 …TESTS_IGNORED=$(grep "INSTRUMENTATION_STATUS_CODE: -3" $DEVICEFARM_LOG_DIR/instrument.log | wc -l); 40 …MPTION_FAILED=$(grep "INSTRUMENTATION_STATUS_CODE: -4" $DEVICEFARM_LOG_DIR/instrument.log | wc -l); 41 …ep "INSTRUMENTATION_RESULT: shortMsg=Process crashed." $DEVICEFARM_LOG_DIR/instrument.log | wc -l); 81 …# androidx.test.services.shellexecutor.ShellMain am instrument -w --no-window-animation -e clear… [all …]
|
/external/grpc-grpc/src/cpp/ext/otel/ |
D | otel_plugin.cc | 258 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 …]
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/ |
D | TimeInstrument.java | 39 * @return the name of this instrument 46 * Start this time instrument. 48 * @param name the name of this instrument 53 * Stop this time instrument. 67 * Print information about this time instrument on the console. 72 * If the time instrument has an associated logger, then log information about 73 * this time instrument. Note that {@link StopWatch} instances cannot log while {@link Profiler}
|
/external/clang/test/Profile/ |
D | c-generate.c | 1 // Check that the -fprofile-instrument-path= form works. 2 …-main-file-name c-generate.c %s -o - -emit-llvm -fprofile-instrument=clang -fprofile-instrument-pa… 3 // RUN: %clang_cc1 %s -o - -emit-llvm -fprofile-instrument=none | FileCheck %s --check-prefix=PROF-… 4 // RUN: not %clang_cc1 %s -o - -emit-llvm -fprofile-instrument=garbage 2>&1 | FileCheck %s --check-… 11 // PROF-INSTR-GARBAGE: invalid PGO instrumentor in argument '-fprofile-instrument=garbage'
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/MCA/ |
D | CustomBehaviour.h | 118 class Instrument { 119 /// The description of Instrument kind 126 Instrument(StringRef Desc, StringRef Data) : Desc(Desc), Data(Data) {} in Instrument() function 128 Instrument() : Instrument("", "") {} in Instrument() function 130 virtual ~Instrument() = default; 136 using SharedInstrument = std::shared_ptr<Instrument>; 139 /// scheduling class IDs. Targets can use information encoded in Instrument 155 // Returns true if this supports processing Instrument with 156 // Instrument.Desc equal to Type 159 /// Allocate an Instrument, and return a shared pointer to it. [all …]
|