Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_ossaudiodev.py75 expected_time = float(len(data)) / (ssize/8) / nchannels / rate
79 self.assertTrue(abs(expected_time - 3.51) < 1e-2, expected_time)
86 percent_diff = (abs(elapsed_time - expected_time) / expected_time) * 100
89 (elapsed_time, expected_time))
/external/python/cpython2/Lib/test/
Dtest_ossaudiodev.py75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
79 self.assertTrue(abs(expected_time - 3.51) < 1e-2, expected_time)
86 percent_diff = (abs(elapsed_time - expected_time) / expected_time) * 100
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_fullstack_trickle.cc344 double expected_time = in StreamingTrickleArgs() local
346 if (expected_time > 2.0) continue; in StreamingTrickleArgs()
446 double expected_time = in UnaryTrickleArgs() local
448 if (expected_time > 2.0) continue; in UnaryTrickleArgs()
/external/markdown/
Dtest-markdown.py280 expected_time, expected_mem = self.saved_benchmarks.get(test, ("na", "na"))
282 self.html_diff_file.write(get_benchmark_html(conversion_time, expected_time))
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
Dattention_wrapper_v2_test.py334 expected_time = (
336 self.assertEqual((batch_size, expected_time, attention_depth),
338 self.assertEqual((batch_size, expected_time),
353 self.assertEqual((expected_time, batch_size, encoder_max_time),
359 self.assertEqual((expected_time, batch_size, encoder_max_time),
/external/libhevc/test/decoder/
Dmain.c1510 UWORD32 expected_time; in display_thread() local
1523 expected_time = 0; in display_thread()
1565 expected_time += frm_duration; in display_thread()
1569 if(current_time < expected_time) in display_thread()
1570 ps_app_ctx->disp_usleep((expected_time - current_time)); in display_thread()
1572 expected_time += (current_time - expected_time); in display_thread()
/external/libmpeg2/test/decoder/
Dmain.c1542 UWORD32 expected_time; in display_thread() local
1556 expected_time = 0; in display_thread()
1598 expected_time += frm_duration; in display_thread()
1602 if(current_time < expected_time) in display_thread()
1603 ps_app_ctx->disp_usleep((expected_time - current_time)); in display_thread()
1605 expected_time += (current_time - expected_time); in display_thread()
/external/libavc/test/decoder/
Dmain.c1521 UWORD32 expected_time; in display_thread() local
1534 expected_time = 0; in display_thread()
1576 expected_time += frm_duration; in display_thread()
1580 if(current_time < expected_time) in display_thread()
1581 ps_app_ctx->disp_usleep((expected_time - current_time)); in display_thread()
1583 expected_time += (current_time - expected_time); in display_thread()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback_unittest.cc349 int64_t expected_time = num_samples * kTooSmallDelta; in TEST() local
352 EXPECT_NEAR(expected_time, accumulated_delta, in TEST()