/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/perfetto/test/trace_processor/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/perfetto/protos/perfetto/metrics/ |
D | metrics.proto | 21 import "protos/perfetto/metrics/android/batt_metric.proto"; 22 import "protos/perfetto/metrics/android/cpu_metric.proto"; 23 import "protos/perfetto/metrics/android/display_metrics.proto"; 24 import "protos/perfetto/metrics/android/dma_heap_metric.proto"; 25 import "protos/perfetto/metrics/android/fastrpc_metric.proto"; 26 import "protos/perfetto/metrics/android/g2d_metric.proto"; 27 import "protos/perfetto/metrics/android/gpu_metric.proto"; 28 import "protos/perfetto/metrics/android/hwcomposer.proto"; 29 import "protos/perfetto/metrics/android/hwui_metric.proto"; 30 import "protos/perfetto/metrics/android/ion_metric.proto"; [all …]
|
D | perfetto_merged_metrics.proto | 14 // Begin of protos/perfetto/metrics/android/batt_metric.proto 57 // End of protos/perfetto/metrics/android/batt_metric.proto 59 // Begin of protos/perfetto/metrics/android/cpu_metric.proto 63 message Metrics { message 81 optional Metrics metrics = 6; field 89 optional Metrics metrics = 2; field 95 optional Metrics metrics = 4; field 97 // Breakdowns of above metrics. 107 optional Metrics metrics = 4; field 109 // Breakdowns of above metrics. [all …]
|
/external/webrtc/system_wrappers/source/ |
D | metrics_unittest.cc | 11 #include "system_wrappers/include/metrics.h" 38 void SetUp() override { metrics::Reset(); } in SetUp() 42 EXPECT_EQ(0, metrics::NumSamples("NonExisting")); in TEST_F() 43 EXPECT_EQ(0, metrics::NumEvents("NonExisting", kSample)); in TEST_F() 44 EXPECT_THAT(metrics::Samples("NonExisting"), IsEmpty()); in TEST_F() 50 EXPECT_EQ(1, metrics::NumSamples(kName)); in TEST_F() 51 EXPECT_EQ(1, metrics::NumEvents(kName, kSample)); in TEST_F() 52 EXPECT_THAT(metrics::Samples(kName), ElementsAre(Pair(kSample, 1))); in TEST_F() 58 EXPECT_EQ(1, metrics::NumSamples(kName)); in TEST_F() 59 EXPECT_EQ(1, metrics::NumEvents(kName, kSample)); in TEST_F() [all …]
|
D | metrics_default_unittest.cc | 17 #include "system_wrappers/include/metrics.h" 29 const std::map<std::string, std::unique_ptr<metrics::SampleInfo>>& in NumSamples() 44 const std::map<std::string, std::unique_ptr<metrics::SampleInfo>>& in NumEvents() 63 void SetUp() override { metrics::Reset(); } in SetUp() 68 EXPECT_EQ(1, metrics::NumSamples(kName)); in TEST_F() 69 metrics::Reset(); in TEST_F() 70 EXPECT_EQ(0, metrics::NumSamples(kName)); in TEST_F() 77 EXPECT_EQ(3, metrics::NumSamples(kName)); in TEST_F() 78 EXPECT_EQ(0, metrics::NumSamples("NonExisting")); in TEST_F() 85 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/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/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 …]
|
/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 …]
|
D | type-urw-base35.xml.in | 8 fullname CDATA #REQUIRED glyphs CDATA #REQUIRED metrics CDATA #REQUIRED 16 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="@urw_base35_font… 17 …undry="URW" weight="400" style="oblique" stretch="normal" format="type1" metrics="@urw_base35_font… 18 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="@urw_base35_font… 19 …undry="URW" weight="600" style="oblique" stretch="normal" format="type1" metrics="@urw_base35_font… 20 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="@urw_base35_font… 21 …oundry="URW" weight="600" style="italic" stretch="normal" format="type1" metrics="@urw_base35_font… 22 …oundry="URW" weight="300" style="normal" stretch="normal" format="type1" metrics="@urw_base35_font… 23 …oundry="URW" weight="300" style="italic" stretch="normal" format="type1" metrics="@urw_base35_font… 24 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="@urw_base35_font… [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 …]
|
D | type-ghostscript.xml | 8 fullname CDATA #REQUIRED glyphs CDATA #REQUIRED metrics CDATA #REQUIRED 16 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts… 17 …undry="URW" weight="400" style="oblique" stretch="normal" format="type1" metrics="/usr/share/fonts… 18 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts… 19 …undry="URW" weight="600" style="oblique" stretch="normal" format="type1" metrics="/usr/share/fonts… 20 …oundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts… 21 …oundry="URW" weight="600" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts… 22 …oundry="URW" weight="300" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts… 23 …oundry="URW" weight="300" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts… 24 …oundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts… [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/freetype/src/cff/ |
D | cffgload.c | 240 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load() 241 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load() 261 TT_SBit_MetricsRec metrics; in cff_slot_load() local 270 &metrics ); in cff_slot_load() 282 glyph->root.metrics.width = (FT_Pos)metrics.width * 64; in cff_slot_load() 283 glyph->root.metrics.height = (FT_Pos)metrics.height * 64; in cff_slot_load() 285 glyph->root.metrics.horiBearingX = (FT_Pos)metrics.horiBearingX * 64; in cff_slot_load() 286 glyph->root.metrics.horiBearingY = (FT_Pos)metrics.horiBearingY * 64; in cff_slot_load() 287 glyph->root.metrics.horiAdvance = (FT_Pos)metrics.horiAdvance * 64; in cff_slot_load() 289 glyph->root.metrics.vertBearingX = (FT_Pos)metrics.vertBearingX * 64; in cff_slot_load() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_D_T_.py | 82 # changed the size metrics should be recalculated. There are a variety 123 # requires metrics then those metrics may be in the locator. 124 # In this case populate the bitmaps with "export metrics". 131 # I'm not sure which metrics have priority here. 132 # For now if both metrics exist go with glyph metrics. 133 if hasattr(glyph, 'metrics'): 134 glyph.exportMetrics = glyph.metrics 136 glyph.exportMetrics = curIndexSubTable.metrics 270 metrics = bitmapObject.exportMetrics 275 writer.begintag('rowimagedata', bitDepth=bitDepth, width=metrics.width, height=metrics.height) [all …]
|
D | _h_m_t_x.py | 39 metrics = struct.unpack(metricsFmt, data[:4 * numberOfMetrics]) 48 self.metrics = {} 52 advanceWidth, lsb = metrics[i*2:i*2+2] 58 self.metrics[glyphName] = (advanceWidth, lsb) 59 lastAdvance = metrics[-2] 62 self.metrics[glyphName] = (lastAdvance, sideBearings[i]) 65 metrics = [] 68 advanceWidth, sideBearing = self.metrics[glyphName] 73 metrics.append([advanceWidth, sideBearing]) 77 lastAdvance = metrics[-1][0] [all …]
|
/external/perfetto/docs/quickstart/ |
D | trace-analysis.md | 1 # Quickstart: SQL-based analysis and trace-based metrics 4 programmatically query the trace contents through SQL and compute trace-based metrics._ 95 ### Trace-based metrics 98 pre-baked queries, herein called "metrics". Metrics are generally curated by 101 Metrics allow to get a summarized view of the trace without having to type any 104 The metrics` schema files live in the 105 [/protos/perfetto/metrics](/protos/perfetto/metrics/) directory. 107 [/src/trace_processor/metrics](/src/trace_processor/metrics/). 111 Let's run the [`android_cpu`](/protos/perfetto/metrics/android/cpu_metric.proto) 112 metric. This metrics computes the total CPU time and the total cycles [all …]
|
/external/ImageMagick/MagickCore/ |
D | annotate.c | 256 metrics; in AnnotateImage() local 326 (void) memset(&metrics,0,sizeof(metrics)); in AnnotateImage() 337 if ((metrics.width == 0) || (annotate->gravity != NorthWestGravity)) in AnnotateImage() 338 (void) GetTypeMetrics(image,annotate,&metrics,exception); in AnnotateImage() 339 height=(size_t) floor(metrics.ascent-metrics.descent+0.5); in AnnotateImage() 356 (metrics.ascent+metrics.descent); in AnnotateImage() 359 metrics.ascent; in AnnotateImage() 366 annotate_info->affine.sx*metrics.width/2.0+annotate_info->affine.ry* in AnnotateImage() 367 (metrics.ascent+metrics.descent); in AnnotateImage() 370 metrics.ascent-annotate_info->affine.rx*metrics.width/2.0; in AnnotateImage() [all …]
|
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/ |
D | RpczZPageHandler.java | 19 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_ERROR_COUNT_HOUR_VIEW; 20 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_ERROR_COUNT_MINUTE_VIE… 21 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_ERROR_COUNT_VIEW; 22 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_FINISHED_COUNT_CUMULAT… 23 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_FINISHED_COUNT_HOUR_VI… 24 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_FINISHED_COUNT_MINUTE_… 25 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_REQUEST_BYTES_HOUR_VIE… 26 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_REQUEST_BYTES_MINUTE_V… 27 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_REQUEST_BYTES_VIEW; 28 import static io.opencensus.contrib.grpc.metrics.RpcViewConstants.RPC_CLIENT_REQUEST_COUNT_HOUR_VIE… [all …]
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | compile_utils_test.py | 28 from tensorflow.python.keras import metrics as metrics_mod 47 self.assertLen(loss_container.metrics, 1) 49 loss_metric = loss_container.metrics[0] 67 loss_metric = loss_container.metrics[0] 71 output_1_metric = loss_container.metrics[1] 75 output_2_metric = loss_container.metrics[2] 97 self.assertLen(loss_container.metrics, 3) 99 loss_metric = loss_container.metrics[0] 103 out1_metric = loss_container.metrics[1] 107 out2_metric = loss_container.metrics[2] [all …]
|
/external/webrtc/video/ |
D | receive_statistics_proxy_unittest.cc | 25 #include "system_wrappers/include/metrics.h" 47 metrics::Reset(); in SetUp() 95 const int kRequiredSamples = metrics::kMinRunTimeInSeconds * kFps; in TEST_F() 105 metrics::NumSamples("WebRTC.Video.DecodedFramesPerSecond")); in TEST_F() 107 1, metrics::NumEvents("WebRTC.Video.DecodedFramesPerSecond", kFps)); in TEST_F() 112 const int kRequiredSamples = metrics::kMinRunTimeInSeconds * kFps; in TEST_F() 122 metrics::NumSamples("WebRTC.Video.DecodedFramesPerSecond")); in TEST_F() 599 1, metrics::NumSamples("WebRTC.Video.ReceiveStreamLifetimeInSeconds")); in TEST_F() 601 1, metrics::NumEvents("WebRTC.Video.ReceiveStreamLifetimeInSeconds", in TEST_F() 613 0, metrics::NumSamples("WebRTC.Video.ReceiveStreamLifetimeInSeconds")); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/ |
D | image_preprocessing_stage_test.cc | 77 EvaluationStageMetrics metrics = stage.LatestMetrics(); in TEST() local 91 EXPECT_EQ(metrics.num_runs(), 1); in TEST() 93 metrics.process_metrics().total_latency().last_us(); in TEST() 96 EXPECT_EQ(metrics.process_metrics().total_latency().max_us(), last_latency); in TEST() 97 EXPECT_EQ(metrics.process_metrics().total_latency().min_us(), last_latency); in TEST() 98 EXPECT_EQ(metrics.process_metrics().total_latency().sum_us(), last_latency); in TEST() 99 EXPECT_EQ(metrics.process_metrics().total_latency().avg_us(), last_latency); in TEST() 117 EvaluationStageMetrics metrics = stage.LatestMetrics(); in TEST() local 131 EXPECT_EQ(metrics.num_runs(), 1); in TEST() 133 metrics.process_metrics().total_latency().last_us(); in TEST() [all …]
|