| /external/cronet/components/metrics/ |
| D | generate_expired_histograms_array.gni | 12 # //tools/metrics/histograms/ 31 script = "//tools/metrics/histograms/generate_expired_histograms_array.py" 35 "//tools/metrics/histograms/histograms.xml", 36 "//tools/metrics/histograms/metadata/accessibility/histograms.xml", 37 "//tools/metrics/histograms/metadata/account_manager/histograms.xml", 38 "//tools/metrics/histograms/metadata/android/histograms.xml", 39 "//tools/metrics/histograms/metadata/apps/histograms.xml", 40 "//tools/metrics/histograms/metadata/arc/histograms.xml", 41 "//tools/metrics/histograms/metadata/ash/histograms.xml", 42 "//tools/metrics/histograms/metadata/ash_clipboard/histograms.xml", [all …]
|
| /external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/ |
| D | MetricsTestUtil.java | 22 * Classes which are useful for testing Cronet's metrics implementation and are needed in more than 58 * Check existence of all the timing metrics that apply to most test requests, 65 RequestFinishedInfo.Metrics metrics, Instant startTime, Instant endTime) { in checkTimingMetrics() argument 66 assertNotNull(metrics.getRequestStart()); in checkTimingMetrics() 67 assertAfter(metrics.getRequestStart(), startTime); in checkTimingMetrics() 68 assertNotNull(metrics.getSendingStart()); in checkTimingMetrics() 69 assertAfter(metrics.getSendingStart(), startTime); in checkTimingMetrics() 70 assertNotNull(metrics.getSendingEnd()); in checkTimingMetrics() 71 assertAfter(endTime, metrics.getSendingEnd()); in checkTimingMetrics() 72 assertNotNull(metrics.getResponseStart()); in checkTimingMetrics() [all …]
|
| /external/perfetto/protos/perfetto/metrics/ |
| D | metrics.proto | 21 import "protos/perfetto/metrics/android/android_frame_timeline_metric.proto"; 22 import "protos/perfetto/metrics/android/batt_metric.proto"; 23 import "protos/perfetto/metrics/android/android_blocking_calls_cuj_metric.proto"; 24 import "protos/perfetto/metrics/android/cpu_metric.proto"; 25 import "protos/perfetto/metrics/android/camera_metric.proto"; 26 import "protos/perfetto/metrics/android/camera_unagg_metric.proto"; 27 import "protos/perfetto/metrics/android/display_metrics.proto"; 28 import "protos/perfetto/metrics/android/dma_heap_metric.proto"; 29 import "protos/perfetto/metrics/android/dvfs_metric.proto"; 30 import "protos/perfetto/metrics/android/fastrpc_metric.proto"; [all …]
|
| /external/cronet/components/metrics/structured/mojom/ |
| D | event_mojom_traits.cc | 5 #include "components/metrics/structured/mojom/event_mojom_traits.h" 13 #include "components/metrics/structured/event.h" 14 #include "components/metrics/structured/mojom/event.mojom.h" 20 metrics::structured::mojom::MetricValueDataView::Tag 21 UnionTraits<metrics::structured::mojom::MetricValueDataView, 22 metrics::structured::Event::MetricValue>:: 23 GetTag(const metrics::structured::Event::MetricValue& metric_value) { in GetTag() 25 case metrics::structured::Event::MetricType::kHmac: in GetTag() 26 return metrics::structured::mojom::MetricValueDataView::Tag::kHmacValue; in GetTag() 27 case metrics::structured::Event::MetricType::kLong: in GetTag() [all …]
|
| D | event_mojom_traits.h | 11 #include "components/metrics/structured/event.h" 12 #include "components/metrics/structured/mojom/event.mojom.h" 21 struct UnionTraits<metrics::structured::mojom::MetricValueDataView, 22 metrics::structured::Event::MetricValue> { 23 static metrics::structured::mojom::MetricValueDataView::Tag GetTag( 24 const metrics::structured::Event::MetricValue& metric_value); 27 const metrics::structured::Event::MetricValue& metric_value) { 32 const metrics::structured::Event::MetricValue& metric_value) { 39 const metrics::structured::Event::MetricValue& metric_value) { 44 const metrics::structured::Event::MetricValue& metric_value) { [all …]
|
| /external/webrtc/video/end_to_end_tests/ |
| D | histogram_tests.cc | 15 #include "system_wrappers/include/metrics.h" 81 return elapsed_sec > metrics::kMinRunTimeInSeconds * 2; in VerifyHistogramStats() 144 metrics::Reset(); in VerifyHistogramStats() 154 EXPECT_METRIC_EQ(2, metrics::NumSamples("WebRTC.Call.LifetimeInSeconds")); in VerifyHistogramStats() 155 EXPECT_METRIC_EQ(1, metrics::NumSamples( in VerifyHistogramStats() 158 1, metrics::NumSamples("WebRTC.Call.VideoBitrateReceivedInKbps")); in VerifyHistogramStats() 160 metrics::NumSamples("WebRTC.Call.RtcpBitrateReceivedInBps")); in VerifyHistogramStats() 161 EXPECT_METRIC_EQ(1, metrics::NumSamples("WebRTC.Call.BitrateReceivedInKbps")); in VerifyHistogramStats() 163 1, metrics::NumSamples("WebRTC.Call.EstimatedSendBitrateInKbps")); in VerifyHistogramStats() 164 EXPECT_METRIC_EQ(1, metrics::NumSamples("WebRTC.Call.PacerBitrateInKbps")); in VerifyHistogramStats() [all …]
|
| /external/opencensus-java/contrib/dropwizard/src/test/java/io/opencensus/contrib/dropwizard/ |
| D | DropWizardMetricsTest.java | 22 import com.codahale.metrics.Counter; 23 import com.codahale.metrics.Gauge; 24 import com.codahale.metrics.Histogram; 25 import com.codahale.metrics.Meter; 26 import com.codahale.metrics.Timer; 28 import io.opencensus.metrics.LabelKey; 29 import io.opencensus.metrics.export.Metric; 30 import io.opencensus.metrics.export.MetricDescriptor; 31 import io.opencensus.metrics.export.MetricDescriptor.Type; 32 import io.opencensus.metrics.export.Summary; [all …]
|
| /external/rust/crates/tokio/tests/ |
| D | rt_metrics.rs | 12 assert_eq!(1, rt.metrics().num_workers()); in num_workers() 15 assert_eq!(2, rt.metrics().num_workers()); in num_workers() 21 assert_eq!(0, rt.metrics().num_blocking_threads()); in num_blocking_threads() 23 assert_eq!(1, rt.metrics().num_blocking_threads()); in num_blocking_threads() 29 assert_eq!(0, rt.metrics().num_idle_blocking_threads()); in num_idle_blocking_threads() 41 if 0 == rt.metrics().num_idle_blocking_threads() { in num_idle_blocking_threads() 47 assert_eq!(1, rt.metrics().num_idle_blocking_threads()); in num_idle_blocking_threads() 58 assert_eq!(0, rt.metrics().blocking_queue_depth()); in blocking_queue_depth() 70 assert!(rt.metrics().blocking_queue_depth() > 0); in blocking_queue_depth() 77 assert_eq!(0, rt.metrics().blocking_queue_depth()); in blocking_queue_depth() [all …]
|
| /external/tensorflow/tensorflow/python/saved_model/ |
| D | pywrap_saved_model_metrics_test.py | 15 """Tests for SavedModel and Checkpoint metrics Python bindings.""" 21 from tensorflow.python.saved_model.pywrap_saved_model import metrics 32 self.assertEqual(metrics.GetWrite(write_version="1"), 0) 33 metrics.IncrementWriteApi("foo") 34 self.assertEqual(metrics.GetWriteApi("foo"), 1) 35 metrics.IncrementWrite(write_version="1") 36 self.assertEqual(metrics.GetWrite(write_version="1"), 1) 39 self.assertEqual(metrics.GetRead(write_version="2"), 0) 40 metrics.IncrementReadApi("bar") 41 self.assertEqual(metrics.GetReadApi("bar"), 1) [all …]
|
| /external/webrtc/api/test/metrics/ |
| D | metrics_logger_test.cc | 10 #include "api/test/metrics/metrics_logger.h" 19 #include "api/test/metrics/metric.h" 43 std::vector<Metric> metrics = logger.GetCollectedMetrics(); in TEST() local 44 ASSERT_THAT(metrics, SizeIs(1)); in TEST() 45 const Metric& metric = metrics[0]; in TEST() 81 std::vector<Metric> metrics = logger.GetCollectedMetrics(); in TEST() local 82 ASSERT_THAT(metrics, SizeIs(1)); in TEST() 83 const Metric& metric = metrics[0]; in TEST() 111 std::vector<Metric> metrics = logger.GetCollectedMetrics(); in TEST() local 112 ASSERT_THAT(metrics, SizeIs(1)); in TEST() [all …]
|
| D | metrics_accumulator_test.cc | 10 #include "api/test/metrics/metrics_accumulator.h" 15 #include "api/test/metrics/metric.h" 35 std::vector<Metric> metrics = accumulator.GetCollectedMetrics(); in TEST() local 36 ASSERT_THAT(metrics, SizeIs(1)); in TEST() 37 const Metric& metric = metrics[0]; in TEST() 69 std::vector<Metric> metrics = accumulator.GetCollectedMetrics(); in TEST() local 70 ASSERT_THAT(metrics, SizeIs(1)); in TEST() 71 const Metric& metric = metrics[0]; in TEST() 108 std::vector<Metric> metrics = accumulator.GetCollectedMetrics(); in TEST() local 109 ASSERT_THAT(metrics, SizeIs(2)); in TEST() [all …]
|
| /external/perfetto/test/trace_processor/diff_tests/startup/ |
| D | android_startup_cpu.out | 4 metrics { 13 metrics { 25 metrics { 33 metrics { 42 metrics { 55 metrics { 63 metrics { 72 metrics { 83 metrics { 94 metrics { [all …]
|
| /external/autotest/utils/frozen_chromite/third_party/infra_libs/ts_mon/common/ |
| D | http_metrics.py | 6 from infra_libs.ts_mon.common import metrics 25 request_bytes = metrics.CumulativeDistributionMetric('http/request_bytes', 27 metrics.StringField('name'), 28 metrics.StringField('client'), 31 response_bytes = metrics.CumulativeDistributionMetric('http/response_bytes', 33 metrics.StringField('name'), 34 metrics.StringField('client'), 37 durations = metrics.CumulativeDistributionMetric('http/durations', 40 metrics.StringField('name'), 41 metrics.StringField('client'), [all …]
|
| /external/webrtc/system_wrappers/source/ |
| D | metrics_unittest.cc | 11 #include "system_wrappers/include/metrics.h" 39 void SetUp() override { metrics::Reset(); } in SetUp() 43 EXPECT_EQ(0, metrics::NumSamples("NonExisting")); in TEST_F() 44 EXPECT_EQ(0, metrics::NumEvents("NonExisting", kSample)); in TEST_F() 45 EXPECT_THAT(metrics::Samples("NonExisting"), IsEmpty()); in TEST_F() 51 EXPECT_EQ(1, metrics::NumSamples(kName)); in TEST_F() 52 EXPECT_EQ(1, metrics::NumEvents(kName, kSample)); in TEST_F() 53 EXPECT_THAT(metrics::Samples(kName), ElementsAre(Pair(kSample, 1))); in TEST_F() 59 EXPECT_EQ(1, metrics::NumSamples(kName)); in TEST_F() 60 EXPECT_EQ(1, metrics::NumEvents(kName, kSample)); in TEST_F() [all …]
|
| D | metrics_default_unittest.cc | 18 #include "system_wrappers/include/metrics.h" 30 std::unique_ptr<metrics::SampleInfo>, in NumSamples() 46 std::unique_ptr<metrics::SampleInfo>, in NumEvents() 65 void SetUp() override { metrics::Reset(); } in SetUp() 70 EXPECT_EQ(1, metrics::NumSamples(kName)); in TEST_F() 71 metrics::Reset(); in TEST_F() 72 EXPECT_EQ(0, metrics::NumSamples(kName)); in TEST_F() 79 EXPECT_EQ(3, metrics::NumSamples(kName)); in TEST_F() 80 EXPECT_EQ(0, metrics::NumSamples("NonExisting")); in TEST_F() 87 EXPECT_EQ(2, metrics::NumEvents(kName, 5)); in TEST_F() [all …]
|
| /external/pigweed/pw_metric/ |
| D | docs.rst | 16 tracking system health metrics like counts or set values. For example, 26 - **Tree structure** - Metrics can form a tree, enabling grouping of related 27 metrics for clearer organization. 29 - **Per object collection** - Metrics and groups can live on object instances 30 and be flexibly combined with metrics from other instances. 33 ``pw_metric`` supports automatic aggregation of metrics. This is optional but 44 and metrics might look like. In this case, the object's 45 ``MySubsystem::metrics()`` member is not globally registered; the user is on 46 their own for combining this subsystem's metrics with others. 60 Group& metrics() { return metrics_; } [all …]
|
| /external/openthread/src/core/thread/ |
| D | link_metrics.hpp | 31 * This file includes definitions for Thread Link Metrics query and management. 64 * @addtogroup core-link-metrics 67 * This module includes definitions for Thread Link Metrics query and management. 73 * This type represents the results (values) for a set of metrics. 82 * This method gets the metrics flags. 84 * @returns The metrics flags. 87 Metrics &GetMetrics(void) { return static_cast<Metrics &>(mMetrics); } in GetMetrics() 90 * This method gets the metrics flags. 92 * @returns The metrics flags. 95 const Metrics &GetMetrics(void) const { return static_cast<const Metrics &>(mMetrics); } in GetMetrics() [all …]
|
| /external/freetype/src/cff/ |
| D | cffgload.c | 248 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load() 249 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load() 269 TT_SBit_MetricsRec metrics; in cff_slot_load() local 278 &metrics ); in cff_slot_load() 290 glyph->root.metrics.width = (FT_Pos)metrics.width * 64; in cff_slot_load() 291 glyph->root.metrics.height = (FT_Pos)metrics.height * 64; in cff_slot_load() 293 glyph->root.metrics.horiBearingX = (FT_Pos)metrics.horiBearingX * 64; in cff_slot_load() 294 glyph->root.metrics.horiBearingY = (FT_Pos)metrics.horiBearingY * 64; in cff_slot_load() 295 glyph->root.metrics.horiAdvance = (FT_Pos)metrics.horiAdvance * 64; in cff_slot_load() 297 glyph->root.metrics.vertBearingX = (FT_Pos)metrics.vertBearingX * 64; in cff_slot_load() [all …]
|
| /external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
| D | buffer_list.cc | 62 /* Extracts opt stats from the tcp_info struct \a info to \a metrics */ 63 void extract_opt_stats_from_tcp_info(ConnectionMetrics* metrics, in extract_opt_stats_from_tcp_info() argument 69 metrics->recurring_retrans.emplace(info->tcpi_retransmits); in extract_opt_stats_from_tcp_info() 70 metrics->is_delivery_rate_app_limited.emplace( in extract_opt_stats_from_tcp_info() 72 metrics->congestion_window.emplace(info->tcpi_snd_cwnd); in extract_opt_stats_from_tcp_info() 73 metrics->reordering.emplace(info->tcpi_reordering); in extract_opt_stats_from_tcp_info() 74 metrics->packet_retx.emplace(info->tcpi_total_retrans); in extract_opt_stats_from_tcp_info() 75 metrics->pacing_rate.emplace(info->tcpi_pacing_rate); in extract_opt_stats_from_tcp_info() 76 metrics->data_notsent.emplace(info->tcpi_notsent_bytes); in extract_opt_stats_from_tcp_info() 78 metrics->min_rtt.emplace(info->tcpi_min_rtt); in extract_opt_stats_from_tcp_info() [all …]
|
| /external/ImageMagick/www/source/ |
| D | type-urw-base35.xml | 8 fullname CDATA #REQUIRED glyphs CDATA #REQUIRED metrics CDATA #REQUIRED 16 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="URWGothic-Book.a… 17 …undry="URW" weight="400" style="oblique" stretch="normal" format="type1" metrics="URWGothic-BookOb… 18 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="URWGothic-Demi.a… 19 …undry="URW" weight="600" style="oblique" stretch="normal" format="type1" metrics="URWGothic-DemiOb… 20 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="URWBookman-Demi.… 21 …oundry="URW" weight="600" style="italic" stretch="normal" format="type1" metrics="URWBookman-DemiI… 22 …oundry="URW" weight="300" style="normal" stretch="normal" format="type1" metrics="URWBookman-Light… 23 …oundry="URW" weight="300" style="italic" stretch="normal" format="type1" metrics="URWBookman-Light… 24 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="NimbusMonoPS-Ref… [all …]
|
| /external/ImageMagick/config/ |
| D | type-urw-base35.xml | 8 fullname CDATA #REQUIRED glyphs CDATA #REQUIRED metrics CDATA #REQUIRED 16 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="URWGothic-Book.a… 17 …undry="URW" weight="400" style="oblique" stretch="normal" format="type1" metrics="URWGothic-BookOb… 18 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="URWGothic-Demi.a… 19 …undry="URW" weight="600" style="oblique" stretch="normal" format="type1" metrics="URWGothic-DemiOb… 20 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="URWBookman-Demi.… 21 …oundry="URW" weight="600" style="italic" stretch="normal" format="type1" metrics="URWBookman-DemiI… 22 …oundry="URW" weight="300" style="normal" stretch="normal" format="type1" metrics="URWBookman-Light… 23 …oundry="URW" weight="300" style="italic" stretch="normal" format="type1" metrics="URWBookman-Light… 24 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="NimbusMonoPS-Ref… [all …]
|
| D | type-ghostscript.xml.in | 8 fullname CDATA #REQUIRED glyphs CDATA #REQUIRED metrics CDATA #REQUIRED 16 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="@ghostscript_fon… 17 …undry="URW" weight="400" style="oblique" stretch="normal" format="type1" metrics="@ghostscript_fon… 18 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="@ghostscript_fon… 19 …undry="URW" weight="600" style="oblique" stretch="normal" format="type1" metrics="@ghostscript_fon… 20 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="@ghostscript_fon… 21 …oundry="URW" weight="600" style="italic" stretch="normal" format="type1" metrics="@ghostscript_fon… 22 …oundry="URW" weight="300" style="normal" stretch="normal" format="type1" metrics="@ghostscript_fon… 23 …oundry="URW" weight="300" style="italic" stretch="normal" format="type1" metrics="@ghostscript_fon… 24 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="@ghostscript_fon… [all …]
|
| /external/grpc-grpc-java/interop-testing/src/generated/main/grpc/io/grpc/testing/integration/ |
| D | MetricsServiceGrpc.java | 22 comments = "Source: grpc/testing/metrics.proto") 30 private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Metrics.EmptyMessage, 31 io.grpc.testing.integration.Metrics.GaugeResponse> getGetAllGaugesMethod; 35 requestType = io.grpc.testing.integration.Metrics.EmptyMessage.class, 36 responseType = io.grpc.testing.integration.Metrics.GaugeResponse.class, 38 public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Metrics.EmptyMessage, 39 io.grpc.testing.integration.Metrics.GaugeResponse> getGetAllGaugesMethod() { in getGetAllGaugesMethod() 40 …pc.MethodDescriptor<io.grpc.testing.integration.Metrics.EmptyMessage, io.grpc.testing.integration.… in getGetAllGaugesMethod() 45 …c.MethodDescriptor.<io.grpc.testing.integration.Metrics.EmptyMessage, io.grpc.testing.integration.… in getGetAllGaugesMethod() 51 io.grpc.testing.integration.Metrics.EmptyMessage.getDefaultInstance())) in getGetAllGaugesMethod() [all …]
|
| /external/fonttools/Lib/fontTools/ttLib/tables/ |
| D | E_B_D_T_.py | 81 # changed the size metrics should be recalculated. There are a variety 122 # requires metrics then those metrics may be in the locator. 123 # In this case populate the bitmaps with "export metrics". 130 # I'm not sure which metrics have priority here. 131 # For now if both metrics exist go with glyph metrics. 132 if hasattr(glyph, 'metrics'): 133 glyph.exportMetrics = glyph.metrics 135 glyph.exportMetrics = curIndexSubTable.metrics 269 metrics = bitmapObject.exportMetrics 274 writer.begintag('rowimagedata', bitDepth=bitDepth, width=metrics.width, height=metrics.height) [all …]
|
| /external/webrtc/modules/audio_processing/aec3/ |
| D | api_call_jitter_metrics_unittest.cc | 21 ApiCallJitterMetrics metrics; in TEST() local 24 metrics.ReportRenderCall(); in TEST() 28 metrics.ReportCaptureCall(); in TEST() 30 if (metrics.WillReportMetricsAtNextCapture()) { in TEST() 31 EXPECT_EQ(jitter, metrics.render_jitter().min()); in TEST() 32 EXPECT_EQ(jitter, metrics.render_jitter().max()); in TEST() 33 EXPECT_EQ(jitter, metrics.capture_jitter().min()); in TEST() 34 EXPECT_EQ(jitter, metrics.capture_jitter().max()); in TEST() 47 ApiCallJitterMetrics metrics; in TEST() local 54 metrics.ReportRenderCall(); in TEST() [all …]
|