/external/grpc-grpc/src/cpp/ext/filters/census/ |
D | measures.cc | 46 static const auto measure = MeasureDouble::Register( in RpcClientSentBytesPerRpc() local 49 return measure; in RpcClientSentBytesPerRpc() 53 static const auto measure = MeasureDouble::Register( in RpcClientReceivedBytesPerRpc() local 56 return measure; in RpcClientReceivedBytesPerRpc() 60 static const auto measure = MeasureDouble::Register( in RpcClientRoundtripLatency() local 65 return measure; in RpcClientRoundtripLatency() 69 static const auto measure = MeasureDouble::Register( in RpcClientServerLatency() local 74 return measure; in RpcClientServerLatency() 78 static const auto measure = in RpcClientSentMessagesPerRpc() local 81 return measure; in RpcClientSentMessagesPerRpc() [all …]
|
/external/grpc-grpc/src/core/ext/filters/load_reporting/ |
D | registered_opencensus_objects.h | 38 static const ::opencensus::stats::MeasureInt64 measure = in MeasureStartCount() local 41 return measure; in MeasureStartCount() 45 static const ::opencensus::stats::MeasureInt64 measure = in MeasureEndCount() local 48 return measure; in MeasureEndCount() 52 static const ::opencensus::stats::MeasureInt64 measure = in MeasureEndBytesSent() local 55 return measure; in MeasureEndBytesSent() 59 static const ::opencensus::stats::MeasureInt64 measure = in MeasureEndBytesReceived() local 63 return measure; in MeasureEndBytesReceived() 67 static const ::opencensus::stats::MeasureInt64 measure = in MeasureEndLatencyMs() local 70 return measure; in MeasureEndLatencyMs() [all …]
|
/external/autotest/client/common_lib/ |
D | smogcheck_ina219.py | 117 def readMeasure(self, measure): argument 130 hex_str = '0x%.4x' % self.readWord(self.range_dict[measure]['reg']) 132 return self._checkMeasureRange(hex_str, measure) 134 logging.error('Error reading %s: %s', measure, e) 152 def _checkMeasureRange(self, hex_str, measure): argument 166 hex_str, self.range_dict[measure]['denom']) 167 measure_msg = '%s value %.2f' % (measure, measure_float) 168 range_msg = '[%(min).2f, %(max).2f]' % self.range_dict[measure] 169 if (measure_float < self.range_dict[measure]['min'] or 170 measure_float > self.range_dict[measure]['max']):
|
/external/skqp/fuzz/ |
D | FuzzPathMeasure.cpp | 26 SkPathMeasure measure(path, bits & 1, resScale); in DEF_FUZZ() local 29 ignoreResult(measure.getPosTan(distance[0], &position, &tangent)); in DEF_FUZZ() 31 ignoreResult(measure.getSegment(distance[1], distance[2], &dst, (bits >> 1) & 1)); in DEF_FUZZ() 32 ignoreResult(measure.nextContour()); in DEF_FUZZ() 33 ignoreResult(measure.getPosTan(distance[3], &position, &tangent)); in DEF_FUZZ() 34 ignoreResult(measure.getSegment(distance[4], distance[5], &dst, (bits >> 2) & 1)); in DEF_FUZZ()
|
/external/skia/fuzz/ |
D | FuzzPathMeasure.cpp | 26 SkPathMeasure measure(path, bits & 1, resScale); in DEF_FUZZ() local 29 ignoreResult(measure.getPosTan(distance[0], &position, &tangent)); in DEF_FUZZ() 31 ignoreResult(measure.getSegment(distance[1], distance[2], &dst, (bits >> 1) & 1)); in DEF_FUZZ() 32 ignoreResult(measure.nextContour()); in DEF_FUZZ() 33 ignoreResult(measure.getPosTan(distance[3], &position, &tangent)); in DEF_FUZZ() 34 ignoreResult(measure.getSegment(distance[4], distance[5], &dst, (bits >> 2) & 1)); in DEF_FUZZ()
|
/external/caliper/caliper/src/test/java/com/google/caliper/memory/ |
D | ObjectGraphMeasurerTest.java | 42 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(oneEnumField); in testEnum() 52 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(oneClassField); in testClass() 61 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(oneObjectField); in testObject() 73 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(withCycle); in testCycle() 84 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(multiplePathsToObject); in testMultiplePathsToObject() 95 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(multiplePathsToClass); in testMultiplePathsToClass() 104 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(new WithStaticField()); in testStaticFields() 118 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(oneNullOneNonNull); in testNullField()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | MeasureToViewMap.java | 111 Measure measure = view.getMeasure(); in registerView() local 112 Measure registeredMeasure = registeredMeasures.get(measure.getName()); in registerView() 113 if (registeredMeasure != null && !registeredMeasure.equals(measure)) { in registerView() 119 registeredMeasures.put(measure.getName(), measure); in registerView() local 152 Measure measure = measurement.getMeasure(); in record() local 153 if (!measure.equals(registeredMeasures.get(measure.getName()))) { in record() 157 Collection<MutableViewData> viewDataCollection = mutableMap.get(measure.getName()); in record()
|
D | MetricUtils.java | 53 Measure measure = view.getMeasure(); in viewToMetricDescriptor() local 57 measure.getUnit(), in viewToMetricDescriptor() 58 getType(measure, view.getAggregation()), in viewToMetricDescriptor() 63 static Type getType(Measure measure, Aggregation aggregation) { in getType() argument 66 measure.match( in getType() 73 measure.match( in getType()
|
D | IntervalBucket.java | 43 private final Measure measure; field in IntervalBucket 47 IntervalBucket(Timestamp start, Duration duration, Aggregation aggregation, Measure measure) { in IntervalBucket() argument 52 this.measure = checkNotNull(measure, "measure"); in IntervalBucket() 71 tagValues, RecordUtils.createMutableAggregation(aggregation, measure)); in record()
|
D | MeasureMapImpl.java | 39 public MeasureMapImpl put(MeasureDouble measure, double value) { in put() argument 40 builder.put(measure, value); in put() 45 public MeasureMapImpl put(MeasureLong measure, long value) { in put() argument 46 builder.put(measure, value); in put()
|
D | MeasureMapInternal.java | 70 Builder put(MeasureDouble measure, double value) { in put() argument 71 measurements.add(Measurement.MeasurementDouble.create(measure, value)); in put() 83 Builder put(MeasureLong measure, long value) { in put() argument 84 measurements.add(Measurement.MeasurementLong.create(measure, value)); in put()
|
D | MutableViewData.java | 355 Measure measure = super.view.getMeasure(); in combineBucketsAndGetAggregationMap() local 356 putBucketsIntoMultiMap(shallowCopy, multimap, aggregation, measure, now); in combineBucketsAndGetAggregationMap() 358 aggregateOnEachTagValueList(multimap, aggregation, measure); in combineBucketsAndGetAggregationMap() 368 Measure measure, in putBucketsIntoMultiMap() argument 380 head.getTagValueAggregationMap(), multimap, aggregation, measure, fractionHead); in putBucketsIntoMultiMap() local 401 Measure measure, in putFractionalMutableAggregationsToMultiMap() argument 405 MutableAggregation fractionalMutableAgg = createMutableAggregation(aggregation, measure); in putFractionalMutableAggregationsToMultiMap() 414 Multimap<T, MutableAggregation> multimap, Aggregation aggregation, Measure measure) { in aggregateOnEachTagValueList() argument 418 MutableAggregation combinedAggregation = createMutableAggregation(aggregation, measure); in aggregateOnEachTagValueList()
|
/external/ltp/testcases/kernel/security/integrity/ima/policy/ |
D | measure.policy | 2 # Integrity measure policy 14 measure func=FILE_MMAP mask=MAY_EXEC 15 measure func=BPRM_CHECK mask=MAY_EXEC 16 measure func=PATH_CHECK mask=MAY_READ uid=0
|
D | measure.policy-invalid | 2 # Integrity measure policy 14 measure func=FILE_MMAP mask=MAY_EXEC 15 measure func=BPRM_CHECK mask=MAY_EXEC 16 measure func=PATH_CHECK mask=MAY_READ uid=0
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | StatsTestUtils.java | 80 public Double getMetric(Measure measure) { in getMetric() argument 82 if (m.getKey().equals(measure)) { in getMetric() 98 public long getMetricAsLongOrFail(Measure measure) { in getMetricAsLongOrFail() argument 99 Double doubleValue = getMetric(measure); in getMetricAsLongOrFail() 100 checkNotNull(doubleValue, "Measure not found: %s", measure.getName()); in getMetricAsLongOrFail() 232 public MeasureMap put(Measure.MeasureDouble measure, double value) { in put() argument 233 metrics.put(measure, value); in put() 238 public MeasureMap put(Measure.MeasureLong measure, long value) { in put() argument 239 metrics.put(measure, value); in put()
|
/external/opencensus-java/api/src/main/java/io/opencensus/stats/ |
D | Measurement.java | 68 public static MeasurementDouble create(MeasureDouble measure, double value) { in create() argument 69 return new AutoValue_Measurement_MeasurementDouble(measure, value); in create() 107 public static MeasurementLong create(MeasureLong measure, long value) { in create() argument 108 return new AutoValue_Measurement_MeasurementLong(measure, value); in create()
|
D | View.java | 123 Measure measure, in create() argument 133 name, description, measure, aggregation, Collections.unmodifiableList(tagKeys), window); in create() 151 Measure measure, in create() argument 157 name, description, measure, aggregation, columns, AggregationWindow.Cumulative.create()); in create()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | MeasureMapInternalTest.java | 148 private static MeasureDouble makeSimpleMeasureDouble(String measure) { in makeSimpleMeasureDouble() argument 149 return Measure.MeasureDouble.create(measure, measure + " description", "1"); in makeSimpleMeasureDouble() 152 private static MeasureLong makeSimpleMeasureLong(String measure) { in makeSimpleMeasureLong() argument 153 return Measure.MeasureLong.create(measure, measure + " description", "1"); in makeSimpleMeasureLong()
|
D | ViewManagerImplTest.java | 132 View.Name name, Measure measure, Aggregation aggregation, List<TagKey> keys) { in createCumulativeView() argument 133 return View.create(name, VIEW_DESCRIPTION, measure, aggregation, keys, CUMULATIVE); in createCumulativeView() 301 private void testRecordCumulative(Measure measure, Aggregation aggregation, double... values) { in testRecordCumulative() argument 302 View view = createCumulativeView(VIEW_NAME, measure, aggregation, Arrays.asList(KEY)); in testRecordCumulative() 307 putToMeasureMap(statsRecorder.newMeasureMap(), measure, val).record(tags); in testRecordCumulative() local 318 StatsTestUtil.createAggregationData(aggregation, measure, values)), in testRecordCumulative() 401 Measure measure, in testRecordInterval() argument 415 measure, in testRecordInterval() 433 putToMeasureMap(statsRecorder.newMeasureMap(), measure, initialValues[i - 1]).record(tags); in testRecordInterval() local 442 StatsTestUtil.createAggregationData(aggregation, measure, initialValues)), in testRecordInterval() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckWidths.java | 48 final Measure measure; field in CheckWidths.Limit 54 …public Limit(double warningReference, double errorReference, Measure measure, LimitType limit, Spe… in Limit() argument 59 this.measure = measure; in Limit() 64 switch (measure) { in Limit() 76 switch (measure) { in Limit() 124 … double valueMeasure = measure == Measure.DISPLAY_WIDTH ? ApproximateWidth.getWidth(value) in hasProblem() 143 … if (cause.getPhase() == Phase.SUBMISSION && measure.equals(Measure.SET_ELEMENTS)) { in hasProblem()
|
/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/ |
D | PerfStatsCollectorTest.java | 61 assertThat(collector.measure("event", () -> { in shouldRunAndMeasureSuccessfulCallable() 72 collector.measure("event", () -> { in shouldRunAndMeasureExceptionThrowingCallable() 78 collector.measure("event", () -> { in shouldRunAndMeasureExceptionThrowingCallable() 96 collector.measure("event", () -> { in shouldRunAndMeasureCheckedException()
|
/external/perfetto/ui/src/frontend/ |
D | raf_scheduler.ts | 21 measure, 143 const actionTime = measure(() => { 147 const domTime = measure(() => { 150 const canvasTime = measure(() => this.syncCanvasRedraw(nowMs));
|
/external/autotest/client/tests/unixbench5/ |
D | control | 10 This test measure system wide performance by running the following tests: 12 - Whetstone - measure floating point operations. 13 - Execl Throughput - measure the number of execl calls per second.
|
/external/autotest/client/tests/unixbench/ |
D | control | 11 This test measure system wide performance by running the following tests: 13 - Whetstone - measure floating point operations. 14 - Execl Throughput - measure the number of execl calls per second.
|
/external/ltp/testcases/kernel/sched/sched_stress/ |
D | sched_stress.sh | 31 echo 0.000000 > sch.measure 35 rm -rf /tmp/tmp$$ ./sched_datafile sch.measure
|