Home
last modified time | relevance | path

Searched refs:num_total (Results 1 – 17 of 17) sorted by relevance

/external/toolchain-utils/crosperf/
Dexperiment_status.py21 self.num_total = len(self.experiment.benchmark_runs)
26 def _GetProgressBar(self, num_complete, num_total): argument
27 ret = 'Done: %s%%' % int(100.0 * num_complete / num_total)
31 num_complete_chars = bar_length * num_complete // num_total
71 float(self.num_total - self.experiment.num_complete - 1) *
88 self._GetProgressBar(self.experiment.num_complete, self.num_total))
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe.h38 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
Dbwe.cc264 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()
Dbwe_unittest.cc120 EXPECT_EQ(loss_account_.num_total, kTotal); in TEST_F()
126 EXPECT_EQ(loss_account_.num_total, 0UL); in TEST_F()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_cmp_requeue01.c75 int num_requeues = 0, num_waits = 0, num_total = 0; in verify_futex_cmp_requeue() local
125 num_total++; in verify_futex_cmp_requeue()
134 if (num_total != tc->num_waiters) { in verify_futex_cmp_requeue()
136 tc->num_waiters - num_total); in verify_futex_cmp_requeue()
/external/toolchain-utils/deprecated/crb/
Dcrb_driver.py130 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/toolchain-utils/afdo_redaction/
Dredact_profile.py188 num_total = 0
197 num_total += len(records)
211 'Retained {:,}/{:,} functions'.format(num_kept, num_total),
/external/python/cpython2/Lib/
Dinspect.py943 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/
Dkeypoint_detector.cc209 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/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.h51 uint64_t num_total = 0; // Total number of log entries received. member
Dandroid_log_data_source.cc231 stats_.num_total++; in ReadLogSocket()
468 stats->set_num_total(stats_.num_total); in Flush()
/external/grpc-grpc/test/cpp/end2end/
Dgrpclb_end2end_test.cc440 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/libtextclassifier/native/annotator/
Dfeature-processor.cc653 int num_total = 0; in SupportedCodepointsRatio() local
661 ++num_total; in SupportedCodepointsRatio()
665 if (num_total == 0) { in SupportedCodepointsRatio()
668 return static_cast<float>(num_supported) / static_cast<float>(num_total); in SupportedCodepointsRatio()
/external/perfetto/protos/perfetto/trace/android/
Dandroid_log.proto68 optional uint64 num_total = 1; field
/external/perfetto/src/trace_processor/importers/proto/
Dandroid_probes_parser.cc207 static_cast<int64_t>(evt.num_total())); in ParseAndroidLogStats()
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py1138 num_total = len(graph.get_operations())
1140 num_duplicates, num_total, num_duplicates / num_total * 100,
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto1609 optional uint64 num_total = 1; field