Home
last modified time | relevance | path

Searched refs:num_total (Results 1 – 7 of 7) 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.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/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/libtextclassifier/smartselect/
Dfeature-processor.cc459 int num_total = 0; in SupportedCodepointsRatio() local
470 ++num_total; in SupportedCodepointsRatio()
474 return static_cast<float>(num_supported) / static_cast<float>(num_total); in SupportedCodepointsRatio()