/system/update_engine/ |
metrics.cc | 101 // UpdateEngine.Rollback.* metric. 119 string metric = metrics::kMetricDailyOSAgeDays; local 121 << " for metric " << metric; 123 metric, 134 string metric; local 139 metric = metrics::kMetricCheckResult; 142 LOG(INFO) << "Sending " << value << " for metric " << metric << " (enum)"; local 143 system_state->metrics_lib()->SendEnumToUMA(metric, value, max_value) 149 LOG(INFO) << "Sending " << value << " for metric " << metric << " (enum)"; local 155 LOG(INFO) << "Sending " << value << " for metric " << metric << " (sparse)"; local 195 string metric = metrics::kMetricAttemptResult; local 220 string metric; local 223 LOG(INFO) << "Uploading " << attempt_number << " for metric " << metric; local 257 LOG(INFO) << "Uploading " << payload_size_mib << " for metric " << metric; local 268 << " for metric " << metric; local 278 << " for metric " << metric; local 287 << " for metric " << metric; local 303 << " for metric " << metric; local 372 string metric; local 377 LOG(INFO) << "Uploading " << mbs << " (MiBs) for metric " << metric; local 407 LOG(INFO) << "Uploading " << mbs << " (MiBs) for metric " << metric; local 418 << " (bit flags) for metric " << metric; local 428 << "% for metric " << metric; local 437 << " (count) for metric " << metric; local 456 << metric; local 477 << " for metric " << metric; local 481 << " (count) for metric " << metric; local 491 string metric; local 496 LOG(INFO) << "Sending " << value << " for metric " << metric << " (enum)"; local 506 string metric; local [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
voip_metric_unittest.cc | 28 "Size of manually created Voip Metric block should match class constant"); 32 RTCPVoIPMetric metric; local 33 metric.lossRate = 1; 34 metric.discardRate = 2; 35 metric.burstDensity = 3; 36 metric.gapDensity = 4; 37 metric.burstDuration = 0x1112; 38 metric.gapDuration = 0x2223; 39 metric.roundTripDelay = 0x3334; 40 metric.endSystemDelay = 0x4445 [all...] |
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
ReportLogTest.java | 19 import com.android.compatibility.common.util.ReportLog.Metric; 38 " <Metric source=\"com.android.compatibility.common.util.ReportLogTest#%s\" " 41 " </Metric>\r\n" + 111 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); local 112 assertEquals("Expected message to be ok", SOURCE, metric.getSource()); 119 metric = new Metric(source, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); 121 metric.getSource()) 126 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); local 141 Metric metric = new Metric(SOURCE, MESSAGE, VALUES, ResultType.HIGHER_BETTER, local [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
smoothness_unittest.py | 34 self.metric = smoothness.SmoothnessMetric() 47 self.metric._PopulateResultsFromStats(results, stats, False) 55 has_enough_frames = self.metric._HasEnoughFrames(self.good_timestamps) 60 has_enough_frames = self.metric._HasEnoughFrames( 69 self.metric._ComputeSurfaceFlingerMetric(self.page, stats)) 81 self.metric._ComputeSurfaceFlingerMetric(self.page, stats)) 93 self.metric._ComputeSurfaceFlingerMetric(self.page, stats)) 111 mean_value, discrepancy_value = self.metric._ComputeLatencyMetric( 119 value = self.metric._ComputeLatencyMetric( 128 mean_value, discrepancy_value = self.metric._ComputeLatencyMetric [all...] |
gpu_timeline_unittest.py | 64 def GetResults(self, metric, model, renderer_thread, interaction_records): 66 metric.AddResults(model, renderer_thread, interaction_records, results) 77 metric = gpu_timeline.GPUTimelineMetric() 78 results = self.GetResults(metric, model=model, renderer_thread=test_thread, 109 metric = gpu_timeline.GPUTimelineMetric() 110 results = self.GetResults(metric, model=model, renderer_thread=test_thread, 162 metric = gpu_timeline.GPUTimelineMetric() 163 results = self.GetResults(metric, model=model, renderer_thread=test_thread, 195 metric = gpu_timeline.GPUTimelineMetric() 196 results = self.GetResults(metric, model=model, renderer_thread=test_thread [all...] |
/external/fec/ |
viterbi27_av.c | 19 metric_t metrics1; /* path metric buffer 1 */ 20 metric_t metrics2; /* path metric buffer 2 */ 123 vector unsigned char metric,m_metric,m0,m1,m2,m3; local 136 metric = vec_avg(vec_xor(Branchtab27[0].v[0],sym0v),vec_xor(Branchtab27[1].v[0],sym1v)); 137 metric = vec_sr(metric,(vector unsigned char)(3)); 138 m_metric = vec_sub((vector unsigned char)(31),metric); 141 m0 = vec_adds(vp->old_metrics->v[0],metric); 142 m3 = vec_adds(vp->old_metrics->v[2],metric); 147 metric = vec_avg(vec_xor(Branchtab27[0].v[1],sym0v),vec_xor(Branchtab27[1].v[1],sym1v)) [all...] |
viterbi27_port.c | 21 metric_t metrics1; /* path metric buffer 1 */ 22 metric_t metrics2; /* path metric buffer 2 */ 118 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); [all...] |
viterbi29_port.c | 18 metric_t metrics1; /* path metric buffer 1 */ 19 metric_t metrics2; /* path metric buffer 2 */ 119 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); [all...] |
viterbi39_port.c | 18 metric_t metrics1; /* path metric buffer 1 */ 19 metric_t metrics2; /* path metric buffer 2 */ 119 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); [all...] |
viterbi615_port.c | 19 metric_t metrics1; /* path metric buffer 1 */ 20 metric_t metrics2; /* path metric buffer 2 */ 113 unsigned long metric,m0,m1,m2,m3,decision0,decision1;\ 114 metric = ((Branchtab615[0].w[i] ^ syms[0]) + (Branchtab615[1].w[i] ^ syms[1])\ 117 m0 = vp->old_metrics->w[i] + metric;\ 118 m1 = vp->old_metrics->w[i+8192] + (1530 - metric);\ 119 m2 = vp->old_metrics->w[i] + (1530-metric);\ 120 m3 = vp->old_metrics->w[i+8192] + metric;\
|
viterbi27_sse2.c | 19 metric_t metrics1; /* path metric buffer 1 */ 20 metric_t metrics2; /* path metric buffer 2 */ 141 __m128i decision0,decision1,metric,m_metric,m0,m1,m2,m3,survivor0,survivor1; 144 metric = _mm_avg_epu8(_mm_xor_si128(Branchtab27_sse2[0].v[i],sym0v),_mm_xor_si128(Branchtab27_sse2[1].v[i],sym1v)); 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); [all...] |
viterbi29_av.c | 19 metric_t metrics1; /* path metric buffer 1 */ 20 metric_t metrics2; /* path metric buffer 2 */ 135 vector unsigned char metric,m_metric,m0,m1,m2,m3,survivor0,survivor1; local 138 metric = vec_avg(vec_xor(Branchtab29[0].v[i],sym1v),vec_xor(Branchtab29[1].v[i],sym2v)); 139 metric = vec_sr(metric,(vector unsigned char)(3)); 140 m_metric = (vector unsigned char)(31) - metric; 143 m0 = vec_adds(vp->old_metrics->v[i],metric); 144 m3 = vec_adds(vp->old_metrics->v[8+i],metric); 166 /* Find smallest metric and splat * [all...] |
ssebfly27.s | 71 movq (8*\GROUP)(%esi),%mm0 # Incoming path metric, high bit = 0 72 movq ((8*\GROUP)+32)(%esi),%mm3 # Incoming path metric, high bit = 1 126 movl (%edi),%eax # extract first output metric 132 # Normalize by finding smallest metric and subtracting it 143 # crunch down to single lowest metric 156 # mm0 now contains lowest metric in all 8 bytes 157 # subtract it from every output metric 185 # stash metric pointers
|
/external/autotest/tko/ |
nightly.py | 91 def collect_raw_scores(runs, metric): 96 vals = perf.get_metric_at_point(runs[platform], metric) 102 def collect_scaled_scores(metric, test_runs, regressed_platforms, relative): 114 metric) 125 def collect_twoway_scores(metric, antagonists, twoway_runs, relative): 131 vals = perf.get_metric_at_point(runs, metric) 151 def find_regressions(kernels, test_runs, metric): 164 scores[k] = collect_raw_scores(test_runs[k], metric) 214 # for 1 benchmark metric over all kernels (rows), 252 print "<p> <b>Bold value:</b> Average of this metric, then <br> [all...] |
/tools/tradefederation/core/prod-tests/src/com/android/media/tests/ |
Camera2LatencyTest.java | 82 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { 83 Matcher matcher = STATS_REGEX.matcher(metric.getValue()); 85 String keyName = String.format("%s_%s", testName, metric.getKey()); 88 CLog.w(String.format("Stats not in correct format: %s", metric.getValue()));
|
CameraBurstStartupTest.java | 70 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { 71 Matcher matcher = STATS_REGEX.matcher(metric.getValue()); 74 // Key name consists of a pair of test name and metric name. 75 String keyName = String.format("%s_%s", testName, metric.getKey()); 78 CLog.w(String.format("Stats not in correct format: %s", metric.getValue()));
|
CameraShotLatencyTest.java | 79 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { 80 Matcher matcher = STATS_REGEX.matcher(metric.getValue()); 82 // Key name consists of a pair of test name and metric name. 83 String keyName = String.format("%s_%s", testName, metric.getKey()); 86 CLog.w(String.format("Stats not in correct format: %s", metric.getValue()));
|
/external/autotest/client/site_tests/firmware_TouchMTB/tools/ |
print_log.py | 40 for metric in vlog.metrics: 41 print (prefix_spaces * 5 + 'metric %s: %s' % 42 (metric.name, metric.value))
|
/external/tcpdump/ |
print-igrp.c | 72 u_int metric, mtu; local 86 metric = bandwidth + delay; 87 if (metric > 0xffffff) 88 metric = 0xffffff; 93 igr->igr_rel, igr->igr_ld, metric,
|
print-dvmrp.c | 167 register int metric, done; local 206 metric = *bp++; 207 done = metric & 0x80; 208 metric &= 0x7f; 209 ND_PRINT((ndo, "\n\t %s metric %d", intoa(htonl(origin)), 210 metric)); 256 register u_char metric; local 264 metric = *bp++; 272 ipaddr_string(ndo, bp), metric, thresh)); 288 register u_char metric, thresh, flags local [all...] |
/tools/tradefederation/core/src/com/android/tradefed/profiler/recorder/ |
TraceMetricsRecorder.java | 56 TraceMetric metric = TraceMetric.parse(descriptor); local 57 enableSingleEventTrace(device, metric.getPrefix() + "/" + metric.getFuncName()); 58 mTraceMetrics.put(metric.getFuncName(), metric); local 59 mMergeFunctions.put(metric, getMergeFunctionByMetricType(metric.getMetricType())); 89 // There's no template for handling this metric, so ignore it. 126 CLog.i("Looking up merge function for metric %s", key); 157 default: throw new IllegalArgumentException("unknown metric type " + t) [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtcp_sender_unittest.cc | 538 RTCPVoIPMetric metric; local 539 metric.lossRate = 1; 540 metric.discardRate = 2; 541 metric.burstDensity = 3; 542 metric.gapDensity = 4; 543 metric.burstDuration = 0x1111; 544 metric.gapDuration = 0x2222; 545 metric.roundTripDelay = 0x3333; 546 metric.endSystemDelay = 0x4444; 547 metric.signalLevel = 5 [all...] |
rtcp_packet_unittest.cc | 472 RTCPVoIPMetric metric; local 473 metric.lossRate = 1; 474 metric.discardRate = 2; 475 metric.burstDensity = 3; 476 metric.gapDensity = 4; 477 metric.burstDuration = 0x1111; 478 metric.gapDuration = 0x2222; 479 metric.roundTripDelay = 0x3333; 480 metric.endSystemDelay = 0x4444; 481 metric.signalLevel = 5 533 VoipMetric metric; local 554 VoipMetric metric; local [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
powermetrics_power_monitor.py | 112 def DataWithMetricKeyPath(metric, powermetrics_output): 113 """Retrieve the sample from powermetrics' output for a given metric. 116 metric: The RunningAverage object we want to collect a new sample for. 120 The sample corresponding to |metric|'s keypath.""" 123 for k in metric.src_path: 211 def StoreMetricAverage(metric, sample_durations, out): 212 """Calculate average value of samples in a metric and store in output 213 path as specified by metric. 216 metric: A RunningAverage object containing samples to average. 220 metric.out_path [all...] |
/external/ImageMagick/www/api/ |
compare.php | 65 const MetricType metric,double *distortion,ExceptionInfo *exception) 83 <dt>metric</dt> 84 <dd>the metric. </dd> 98 <p>GetImageDistortion() compares one or more pixel channels of an image to a reconstructed image and returns the specified distortion metric.</p> 104 const Image *reconstruct_image,const MetricType metric, 123 <dt>metric</dt> 124 <dd>the metric. </dd> 138 <p>GetImageDistortions() compares the pixel channels of an image to a reconstructed image and returns the specified distortion metric for each channel.</p> 144 const Image *reconstruct_image,const MetricType metric, 163 <dt>metric</dt [all...] |