Home
last modified time | relevance | path

Searched refs:total_calls (Results 1 – 6 of 6) sorted by relevance

/external/libbrillo/brillo/message_loops/
Dmessage_loop_unittest.cc311 int total_calls = 0; in TYPED_TEST() local
318 [](MessageLoop* loop, int* timeout_called, int* total_calls, in TYPED_TEST()
321 (*total_calls)++; in TYPED_TEST()
323 if (*total_calls > 100) in TYPED_TEST()
326 this->loop_.get(), &timeout_called, &total_calls, &timeout_callback, in TYPED_TEST()
338 int* total_calls, int i) { in TYPED_TEST() argument
340 (*total_calls)++; in TYPED_TEST()
343 if (*total_calls > 100) in TYPED_TEST()
345 }, this->loop_.get(), pipes, reads, &total_calls); in TYPED_TEST()
360 EXPECT_GT(total_calls, 100); in TYPED_TEST()
/external/python/cpython3/Lib/
Dprofile.py543 total_calls = 0.0
548 total_calls += cc
553 print("total # calls =", total_calls)
554 if total_calls != m + 1:
555 raise ValueError("internal error: total calls = %d" % total_calls)
561 mean = (reported_time - elapsed_noprofile) / 2.0 / total_calls
Dpstats.py104 self.total_calls = 0
142 self.total_calls += nc
157 self.total_calls += item.total_calls
369 print(indent, self.total_calls, "function calls", end=' ', file=self.stream)
370 if self.total_calls != self.prim_calls:
/external/python/cpython2/Lib/
Dprofile.py549 total_calls = 0.0
554 total_calls += cc
559 print "total # calls =", total_calls
560 if total_calls != m + 1:
561 raise ValueError("internal error: total calls = %d" % total_calls)
567 mean = (reported_time - elapsed_noprofile) / 2.0 / total_calls
Dpstats.py89 self.total_calls = 0
129 self.total_calls += nc
144 self.total_calls += other.total_calls
351 print >> self.stream, indent, self.total_calls, "function calls",
352 if self.total_calls != self.prim_calls:
/external/libevent/test/
Dregress_bufferevent.c914 int total_calls; member
933 ++res->total_calls; in bev_timeout_event_cb()
1021 tt_want(res1.total_calls == 2); in test_bufferevent_timeouts()
1024 tt_want(res2.total_calls == !(use_pair && !use_filter)); in test_bufferevent_timeouts()