/external/toolchain-utils/crosperf/ |
D | experiment_status.py | 18 self.num_total = len(self.experiment.benchmark_runs) 23 def _GetProgressBar(self, num_complete, num_total): argument 24 ret = 'Done: %s%%' % int(100.0 * num_complete / num_total) 28 num_complete_chars = bar_length * num_complete / num_total 67 eta_seconds = (float(self.num_total - self.experiment.num_complete - 1) * 84 self._GetProgressBar(self.experiment.num_complete, self.num_total))
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | bwe.h | 38 LossAccount() : num_total(0), num_lost(0) {} in LossAccount() 39 LossAccount(size_t num_total, size_t num_lost) in LossAccount() 40 : num_total(num_total), num_lost(num_lost) {} in LossAccount() 44 size_t num_total; member
|
D | bwe.cc | 264 num_total += rhs.num_total; in Add() 268 num_total -= rhs.num_total; in Subtract() 273 if (num_total == 0) in LossRatio() 275 return static_cast<float>(num_lost) / num_total; in LossRatio()
|
D | bwe_unittest.cc | 120 EXPECT_EQ(loss_account_.num_total, kTotal); in TEST_F() 126 EXPECT_EQ(loss_account_.num_total, 0UL); in TEST_F()
|
/external/toolchain-utils/crb/ |
D | crb_driver.py | 130 def GetProgressBar(num_done, num_total): argument 131 ret = 'Done: %s%%' % int(100.0 * num_done / num_total) 135 num_done_chars = bar_length * num_done / num_total 142 def GetProgressString(start_time, num_remain, num_total): argument 146 eta_seconds = float(num_remain) * elapsed_time / (num_total - num_remain) 155 strings.append(GetProgressBar(num_total - num_remain, num_total))
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
D | tree_utils.h | 218 const int64 num_total = indices.dimension(0); in GetNumSparseFeatures() local 221 int64 high = num_total; in GetNumSparseFeatures() 259 if (input_end >= num_total) { in GetNumSparseFeatures()
|
/external/python/cpython2/Lib/ |
D | inspect.py | 943 num_total = num_pos + len(named) 956 'arguments' if num_args > 1 else 'argument', num_total)) 957 elif num_args == 0 and num_total: 962 '(%d given)' % (f_name, num_total)) 965 (f_name, num_total)) 995 'arguments' if num_required > 1 else 'argument', num_total))
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | keypoint_detector.cc | 209 const int num_total = circle_perimeter + threshold - 1; in TestCircle() local 219 int minimum_by_now = threshold - num_total + 1; in TestCircle() 223 for (int i = 0; i < num_total; ++i) { in TestCircle()
|
/external/grpc-grpc/test/cpp/end2end/ |
D | grpclb_end2end_test.cc | 440 void SendRpcAndCount(int* num_total, int* num_ok, int* num_failure, in SendRpcAndCount() argument 452 ++*num_total; in SendRpcAndCount() 460 int num_total = 0; in WaitForAllBackends() local 462 SendRpcAndCount(&num_total, &num_ok, &num_failure, &num_drops); in WaitForAllBackends() 464 while (num_total % num_requests_multiple_of != 0) { in WaitForAllBackends() 465 SendRpcAndCount(&num_total, &num_ok, &num_failure, &num_drops); in WaitForAllBackends() 471 num_total, num_requests_multiple_of, num_ok, num_failure, in WaitForAllBackends()
|
/external/perfetto/src/traced/probes/android_log/ |
D | android_log_data_source.h | 49 uint64_t num_total = 0; // Total number of log entries received. member
|
D | android_log_data_source.cc | 214 stats_.num_total++; in ReadLogSocket() 451 stats->set_num_total(stats_.num_total); in Flush()
|
/external/perfetto/protos/perfetto/trace/android/ |
D | android_log.proto | 69 optional uint64 num_total = 1; field
|
/external/libtextclassifier/annotator/ |
D | feature-processor.cc | 602 int num_total = 0; in SupportedCodepointsRatio() local 610 ++num_total; in SupportedCodepointsRatio() 613 return static_cast<float>(num_supported) / static_cast<float>(num_total); in SupportedCodepointsRatio()
|
/external/perfetto/src/trace_processor/ |
D | proto_trace_parser.cc | 1179 static_cast<int64_t>(evt.num_total())); in ParseAndroidLogStats()
|
/external/perfetto/protos/perfetto/trace/ |
D | perfetto_trace.proto | 363 optional uint64 num_total = 1; field
|