Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 25 of 526) sorted by relevance

12345678910>>...22

/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dvoip_metric_unittest.cc32 RTCPVoIPMetric metric; in TEST() local
33 metric.lossRate = 1; in TEST()
34 metric.discardRate = 2; in TEST()
35 metric.burstDensity = 3; in TEST()
36 metric.gapDensity = 4; in TEST()
37 metric.burstDuration = 0x1112; in TEST()
38 metric.gapDuration = 0x2223; in TEST()
39 metric.roundTripDelay = 0x3334; in TEST()
40 metric.endSystemDelay = 0x4445; in TEST()
41 metric.signalLevel = 5; in TEST()
[all …]
/external/tensorflow/tensorflow/contrib/eager/python/
Devaluator.py124 for name, metric in six.iteritems(self._metrics):
125 results[name] = metric.result()
127 for name, metric in six.iteritems(evaluator._metrics): # pylint: disable=protected-access
128 results[prefix + "/" + name] = metric.result()
232 def track_metric(self, metric): argument
253 if not isinstance(metric, metrics.Metric):
256 (type(metric),))
257 if metric.name in self._metrics:
258 if metric is self._metrics[metric.name]:
259 return metric
[all …]
/external/autotest/client/common_lib/cros/
Dsystem_metrics_collector.py32 def __init__(self, metric): argument
39 'peak_' + metric.description,
40 units = metric.units,
41 higher_is_better = metric.higher_is_better)
42 self.metric = metric
45 self.values = [max(self.metric.values)] if self.metric.values else []
156 for metric in self.metrics:
157 metric.collect_metric()
166 for metric in self.metrics:
168 description=metric.description,
[all …]
Dsystem_metrics_collector_unittest.py11 metric = system_metrics_collector.MemUsageMetric(FakeSystemFacade())
12 metric.collect_metric()
13 self.assertAlmostEqual(60, metric.values[0])
16 metric = system_metrics_collector.AllocatedFileHandlesMetric(
18 metric.collect_metric()
19 self.assertEqual(11, metric.values[0])
22 metric = system_metrics_collector.CpuUsageMetric(FakeSystemFacade())
25 metric.collect_metric()
26 metric.collect_metric()
27 self.assertAlmostEqual(40, metric.values[0])
[all …]
/external/autotest/tko/
Dnightly.py91 def collect_raw_scores(runs, metric): argument
96 vals = perf.get_metric_at_point(runs[platform], metric)
102 def collect_scaled_scores(metric, test_runs, regressed_platforms, relative): argument
114 metric)
125 def collect_twoway_scores(metric, antagonists, twoway_runs, relative): argument
131 vals = perf.get_metric_at_point(runs, metric)
151 def find_regressions(kernels, test_runs, metric): argument
164 scores[k] = collect_raw_scores(test_runs[k], metric)
338 def table_testrun_details(runs, metric, tko_server, show_attrs): argument
340 print "<tr><td> %s metric </td>" % metric
[all …]
/external/autotest/client/common_lib/cros/cfm/metrics/
Dmedia_info_metrics_extractor_unittest.py18 metric = self.extractor.get_top_level_metric('processcpuusage')
19 self.assertEqual(metric, [(1, [105]), (2, [95])])
22 metric = self.extractor.get_media_metric(
25 self.assertEqual(metric, [(1, [8, 23]), (2, [25, 12])])
28 metric = self.extractor.get_media_metric(
33 self.assertEqual(metric, [(1, [31]), (2, [37])])
36 metric = self.extractor.get_media_metric(
41 self.assertEqual(metric, [(1, [9, 24]), (2, [26, 13])])
49 metric = self.extractor.get_media_metric(
52 metric, [(1.0, [58978, 3826779]), (2.0, [59206, 3986136])])
[all …]
/external/scapy/scapy/contrib/
Disis.uts54 ISIS_ExtendedIpPrefix(metric=0, pfx="172.16.8.16/32"),
55 ISIS_ExtendedIpPrefix(metric=10, pfx="10.1.0.109/30"),
56 ISIS_ExtendedIpPrefix(metric=10, pfx="10.1.0.181/30")
61 ISIS_Ipv6Prefix(metric=0, pfx="fe10:1::10/128"),
62 ISIS_Ipv6Prefix(metric=10, pfx="fd1f:1::/64"),
63 ISIS_Ipv6Prefix(metric=10, pfx="fd1f:1:12::/64")
67 … neighbours=[ISIS_ExtendedIsNeighbourEntry(neighbourid="1720.1600.8004.00", metric=10)]
96 ISIS_ExtendedIpPrefix(metric=0, pfx="172.16.8.16/32"),
97 ISIS_ExtendedIpPrefix(metric=10, pfx="10.1.0.109/30", subtlvindicator=1,
102 ISIS_ExtendedIpPrefix(metric=10, pfx="10.1.0.181/30", subtlvindicator=1,
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dmetric_table_report.cc55 return a.metric > b.metric; in MakeReport()
103 category.metric_sum += entry.metric; in MakeCategories()
170 AppendLine(kIndentPrefix, MetricPercent(category.entries[i]->metric), " ", in AppendCategoryTable()
200 metric_sum += entry.metric; in AppendEntryTable()
206 AppendTableRow(text, entry.metric, metric_sum); in AppendEntryTable()
216 void MetricTableReport::AppendTableRow(const string& text, const double metric, in AppendTableRow() argument
222 string metric_string = MetricString(metric); in AppendTableRow()
231 AppendLine(padding, metric_string, " (", MetricPercent(metric), " Σ", in AppendTableRow()
238 metric_sum += entry.metric; in UnaccountedMetric()
243 string MetricTableReport::MetricString(double metric) { in MetricString() argument
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_sender_unittest.cc538 RTCPVoIPMetric metric; in TEST_F() local
539 metric.lossRate = 1; in TEST_F()
540 metric.discardRate = 2; in TEST_F()
541 metric.burstDensity = 3; in TEST_F()
542 metric.gapDensity = 4; in TEST_F()
543 metric.burstDuration = 0x1111; in TEST_F()
544 metric.gapDuration = 0x2222; in TEST_F()
545 metric.roundTripDelay = 0x3333; in TEST_F()
546 metric.endSystemDelay = 0x4444; in TEST_F()
547 metric.signalLevel = 5; in TEST_F()
[all …]
Drtcp_packet_unittest.cc472 RTCPVoIPMetric metric; in TEST() local
473 metric.lossRate = 1; in TEST()
474 metric.discardRate = 2; in TEST()
475 metric.burstDensity = 3; in TEST()
476 metric.gapDensity = 4; in TEST()
477 metric.burstDuration = 0x1111; in TEST()
478 metric.gapDuration = 0x2222; in TEST()
479 metric.roundTripDelay = 0x3333; in TEST()
480 metric.endSystemDelay = 0x4444; in TEST()
481 metric.signalLevel = 5; in TEST()
[all …]
/external/fec/
Dviterbi27_av.c123 vector unsigned char metric,m_metric,m0,m1,m2,m3; in update_viterbi27_blk_av() local
136 metric = vec_avg(vec_xor(Branchtab27[0].v[0],sym0v),vec_xor(Branchtab27[1].v[0],sym1v)); in update_viterbi27_blk_av()
137 metric = vec_sr(metric,(vector unsigned char)(3)); in update_viterbi27_blk_av()
138 m_metric = vec_sub((vector unsigned char)(31),metric); in update_viterbi27_blk_av()
141 m0 = vec_adds(vp->old_metrics->v[0],metric); in update_viterbi27_blk_av()
142 m3 = vec_adds(vp->old_metrics->v[2],metric); in update_viterbi27_blk_av()
147 metric = vec_avg(vec_xor(Branchtab27[0].v[1],sym0v),vec_xor(Branchtab27[1].v[1],sym1v)); in update_viterbi27_blk_av()
148 metric = vec_sr(metric,(vector unsigned char)(3)); in update_viterbi27_blk_av()
149 m_metric = vec_sub((vector unsigned char)(31),metric); in update_viterbi27_blk_av()
158 m0 = vec_adds(vp->old_metrics->v[1],metric); in update_viterbi27_blk_av()
[all …]
Dviterbi27_sse2.c141 __m128i decision0,decision1,metric,m_metric,m0,m1,m2,m3,survivor0,survivor1;
144metric = _mm_avg_epu8(_mm_xor_si128(Branchtab27_sse2[0].v[i],sym0v),_mm_xor_si128(Branchtab27_sse2…
148 metric = _mm_srli_epi16(metric,3);
149 metric = _mm_and_si128(metric,_mm_set1_epi8(31));
150 m_metric = _mm_sub_epi8(_mm_set1_epi8(31),metric);
153 m0 = _mm_add_epi8(vp->old_metrics->v[i],metric);
154 m3 = _mm_add_epi8(vp->old_metrics->v[2+i],metric);
Dviterbi29_port.c119 unsigned int metric,m0,m1,decision;\
120 metric = (Branchtab29[0].c[i] ^ sym0) + (Branchtab29[1].c[i] ^ sym1);\
121 m0 = vp->old_metrics->w[i] + metric;\
122 m1 = vp->old_metrics->w[i+128] + (510 - metric);\
126 m0 -= (metric+metric-510);\
127 m1 += (metric+metric-510);\
Dviterbi39_port.c119 unsigned int metric,m0,m1,decision;\
120 metric = (Branchtab39[0].c[i] ^ sym0) + (Branchtab39[1].c[i] ^ sym1) + \
122 m0 = vp->old_metrics->w[i] + metric;\
123 m1 = vp->old_metrics->w[i+128] + (765 - metric);\
127 m0 -= (metric+metric-765);\
128 m1 += (metric+metric-765);\
Dviterbi27_port.c118 unsigned int metric,m0,m1,decision;\
119 metric = (Branchtab27[0].c[i] ^ sym0) + (Branchtab27[1].c[i] ^ sym1);\
120 m0 = vp->old_metrics->w[i] + metric;\
121 m1 = vp->old_metrics->w[i+32] + (510 - metric);\
125 m0 -= (metric+metric-510);\
126 m1 += (metric+metric-510);\
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DPerfStatsCollector.java133 Metric metric = metricMap.get(key); in finished() local
134 if (metric == null) { in finished()
135 metricMap.put(key, metric = new Metric(key.name, key.success)); in finished()
137 metric.count++; in finished()
138 metric.elapsedNs += clock.nanoTime() - startTimeNs; in finished()
188 Metric metric = (Metric) o; in equals() local
190 if (count != metric.count) { in equals()
193 if (elapsedNs != metric.elapsedNs) { in equals()
196 if (success != metric.success) { in equals()
199 return name != null ? name.equals(metric.name) : metric.name == null; in equals()
/external/walt/hardware/
DWALT_bom_r07.tsv4 D3 1 LED GREEN CLEAR 0603 SMD SMD 0603 (1608 metric), polarized Lite-On Inc. LTST-C191KGKT
5 D4 1 LED RED CLEAR 0603 SMD SMD 0603 (1608 metric), polarized Lite-On Inc. LTST-C191KRKT
6 C1 C2 2 Capacitor (0.1uF) SMD 0805 (2012 metric) Samsung Electro-Mechanics America, Inc. CL21F104ZB…
7 R7,R5 2 Resistor (100) 100 Ohm SMD 0603 (1608 metric) Yageo RC0603FR-07100RL
8 R4, R6 2 Resistor (3300) 3.3k SMD 0603 (1608 metric) Yageo RC0603JR-073K3L
9 R3 1 Resistor (510000) 510k SMD 0603 (1608 metric) Yageo RC0603FR-07510KL
10 R2,R1 2 Resistor (330R) 330 Ohm SMD 0603 (1608 metric) Yageo RC0603JR-07330RL
DWALT_bom_r09.tsv4 D3 1 LED GREEN CLEAR 0603 SMD SMD 0603 (1608 metric), polarized Lite-On Inc. LTST-C191KGKT
5 D4 1 LED RED CLEAR 0603 SMD SMD 0603 (1608 metric), polarized Lite-On Inc. LTST-C191KRKT
6 C1 C2 2 Capacitor (0.1uF) SMD 0805 (2012 metric) Samsung Electro-Mechanics America, Inc. CL21F104ZB…
7 R7,R5, R8 3 Resistor (100) 100 Ohm SMD 0603 (1608 metric) Yageo RC0603FR-07100RL
8 R4, R6 2 Resistor (3300) 3.3k SMD 0603 (1608 metric) Yageo RC0603JR-073K3L
9 R3 1 Resistor (510000) 510k SMD 0603 (1608 metric) Yageo RC0603FR-07510KL
10 R2,R1 2 Resistor (330R) 330 Ohm SMD 0603 (1608 metric) Yageo RC0603JR-07330RL
/external/tensorflow/tensorflow/docs_src/api_guides/python/
Dcontrib.metrics.md9 on dynamically valued `Tensors`. Each metric declaration returns a
11 metric, and an "update_op", an operation that accumulates the information
15 To use any of these metrics, one need only declare the metric, call `update_op`
30 Each metric function adds nodes to the graph that hold the state necessary to
31 compute the value of the metric as well as a set of operations that actually
32 perform the computation. Every metric evaluation is composed of three steps
34 * Initialization: initializing the metric state.
35 * Aggregation: updating the values of the metric state.
36 * Finalization: computing the final metric value.
47 running the `update_op` returned by the metric.
[all …]
/external/tcpdump/
Dprint-dvmrp.c168 register int metric, done; in print_report() local
207 metric = *bp++; in print_report()
208 done = metric & 0x80; in print_report()
209 metric &= 0x7f; in print_report()
211 metric)); in print_report()
257 register u_char metric; in print_neighbors() local
265 metric = *bp++; in print_neighbors()
273 ipaddr_string(ndo, bp), metric, thresh)); in print_neighbors()
289 register u_char metric, thresh, flags; in print_neighbors2() local
300 metric = *bp++; in print_neighbors2()
[all …]
/external/tcpdump/tests/
Dospf3_mp-vv.out137 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.5, metric 10
138 2001:db8:0:34::/64, metric 0
140 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4, metric 20
141 2001:db8:0:4::/64, metric 0
143 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3, metric 10
144 2001:db8:0:3::/64, metric 0
146 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4, metric 10
147 2001:db8:0:12::/64, metric 0
152 2001:db8::/64, metric 0
157 2001:db8::3/128, Options [Local address], metric 0
[all …]
Dospf3_nbma-vv.out119 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2, metric 20
120 2001:db8:0:4::/64, metric 0
122 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1, metric 10
123 2001:db8:0:34::/64, metric 0
125 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0, metric 10
126 2001:db8:0:3::/64, metric 0
131 2001:db8::/64, metric 0
136 2001:db8::/64, metric 64
143 Neighbor Interface-ID 0.0.0.6, Interface 0.0.0.6, metric 64
148 Neighbor Interface-ID 0.0.0.6, Interface 0.0.0.6, metric 64
[all …]
Dospf3_ah-vv.out206 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4, metric 74
207 2001:db8:0:3::/64, metric 0
209 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3, metric 84
210 2001:db8:0:4::/64, metric 0
212 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2, metric 74
213 2001:db8:0:34::/64, metric 0
215 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1, metric 64
216 2001:db8::/64, metric 0
218 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.8, metric 74
219 2001:db8:0:3::/64, metric 0
[all …]
Dripv2_auth.out5 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
10 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
15 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
22 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
29 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
37 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
45 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
53 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
61 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
70 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
[all …]
Dospf3_bc-vv.out113 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3, metric 74
114 2001:db8:0:3::/64, metric 0
116 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2, metric 84
117 2001:db8:0:4::/64, metric 0
119 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1, metric 74
120 2001:db8:0:34::/64, metric 0
122 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0, metric 64
123 2001:db8::/64, metric 0
128 2001:db8:0:12::/64, metric 0
133 2001:db8:0:12::/64, metric 10
[all …]

12345678910>>...22