Home
last modified time | relevance | path

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

/external/toolchain-utils/crosperf/
Dexperiment_status.py18 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/
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/toolchain-utils/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/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dtree_utils.h218 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/
Dinspect.py933 num_total = num_pos + len(named)
946 'arguments' if num_args > 1 else 'argument', num_total))
947 elif num_args == 0 and num_total:
952 '(%d given)' % (f_name, num_total))
955 (f_name, num_total))
985 '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/libtextclassifier/
Dfeature-processor.cc619 int num_total = 0; in SupportedCodepointsRatio() local
627 ++num_total; in SupportedCodepointsRatio()
630 return static_cast<float>(num_supported) / static_cast<float>(num_total); in SupportedCodepointsRatio()