Home
last modified time | relevance | path

Searched refs:current_time (Results 1 – 25 of 112) sorted by relevance

12345

/third_party/boost/boost/numeric/odeint/integrate/detail/
Dintegrate_times.hpp60 Time current_time = *start_time++; in integrate_times() local
61 obs( start_state , current_time ); in integrate_times()
64 while( less_with_sign( current_time , static_cast<time_type>(*start_time) , current_dt ) ) in integrate_times()
66 current_dt = min_abs( dt , *start_time - current_time ); in integrate_times()
67 st.do_step( system , start_state , current_time , current_dt ); in integrate_times()
68 current_time += current_dt; in integrate_times()
93 Time current_time = *start_time++; in integrate_times() local
94 obs( start_state , current_time ); in integrate_times()
97 while( less_with_sign( current_time , static_cast<time_type>(*start_time) , dt ) ) in integrate_times()
100 Time current_dt = min_abs( dt , *start_time - current_time ); in integrate_times()
[all …]
Dintegrate_n_steps.hpp115 while( less_with_sign( time , st.current_time() , st.current_time_step() ) ) in integrate_n_steps()
126 if( less_with_sign( static_cast<Time>(st.current_time()+st.current_time_step()) , in integrate_n_steps()
132 else if( less_with_sign( st.current_time() , end_time , st.current_time_step() ) ) in integrate_n_steps()
134 …st.initialize( st.current_state() , st.current_time() , static_cast<Time>(end_time - st.current_ti… in integrate_n_steps()
140 while( st.current_time() < end_time ) in integrate_n_steps()
143 static_cast<Time>(st.current_time()+st.current_time_step()) , in integrate_n_steps()
145 …st.initialize( st.current_state() , st.current_time() , static_cast<Time>(end_time - st.current_ti… in integrate_n_steps()
Dintegrate_adaptive.hpp133 while( less_with_sign( st.current_time() , end_time , st.current_time_step() ) ) in integrate_adaptive()
135 while( less_eq_with_sign( static_cast<Time>(st.current_time() + st.current_time_step()) , in integrate_adaptive()
139 obs( st.current_state() , st.current_time() ); in integrate_adaptive()
144 …st.initialize( st.current_state() , st.current_time() , static_cast<Time>(end_time - st.current_ti… in integrate_adaptive()
146 obs( st.current_state() , st.current_time() ); in integrate_adaptive()
Dintegrate_const.hpp125 while( less_eq_with_sign( time , st.current_time() , dt ) ) in integrate_const()
135 if( less_with_sign( static_cast<Time>(st.current_time()+st.current_time_step()) , in integrate_const()
139 while( less_eq_with_sign( st.current_time() , time , dt ) ) in integrate_const()
145 else if( less_with_sign( st.current_time() , end_time , st.current_time_step() ) ) in integrate_const()
147 st.initialize( st.current_state() , st.current_time() , end_time - st.current_time() ); in integrate_const()
/third_party/boost/libs/timer/test/
Dcpu_timer_info.cpp38 cpu_times current_time; in cpp_main() local
48 current_time.user = start_time.user; in cpp_main()
49 while (current_time.user == start_time.user) in cpp_main()
51 current_time = cpu.elapsed(); in cpp_main()
53 cout << current_time.user - start_time.user << "ns\n"; in cpp_main()
65 current_time.wall = start_time.wall; in cpp_main()
66 while (current_time.wall == start_time.wall) in cpp_main()
68 current_time.wall = cpu.elapsed().wall; in cpp_main()
70 cout << current_time.wall - start_time.wall << "ns "; in cpp_main()
/third_party/toybox/toys/pending/
Ddumpleases.c41 int64_t written_time , current_time, exp; in dumpleases_main() local
48 current_time = time(NULL); in dumpleases_main()
50 if(current_time < written_time) written_time = current_time; in dumpleases_main()
60 if (exp <= current_time) { in dumpleases_main()
66 unsigned expires = exp - current_time; in dumpleases_main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/time/
D1-1.c21 time_t current_time; in main() local
23 current_time = time(NULL); in main()
24 printf("%ju secs since the Epoch\n", (uintmax_t) current_time); in main()
26 if (current_time != -1) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/ctime/
D1-1.c19 time_t current_time; in main() local
22 time(&current_time); in main()
23 result = ctime(&current_time); in main()
30 ctime(&current_time)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/localtime/
D1-1.c19 time_t current_time; in main() local
22 current_time = time(NULL); in main()
24 timeptr = localtime(&current_time); in main()
27 printf("date: %s, ", (asctime(localtime((&current_time))))); in main()
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpsession.c140 guint32 ssrc, gboolean * created, GstClockTime current_time);
142 GstClockTime current_time);
1615 GSocketAddress * address, GstClockTime current_time) in rtp_session_have_conflict() argument
1620 rtp_session_add_conflicting_address (sess, address, current_time); in rtp_session_have_conflict()
1632 rtp_session_schedule_bye_locked (sess, current_time); in rtp_session_have_conflict()
1666 pinfo->address, pinfo->current_time)) { in check_collision()
1682 pinfo->current_time); in check_collision()
1721 pinfo->current_time)) { in check_collision()
1731 pinfo->current_time); in check_collision()
1901 source->last_activity = pinfo->current_time; in obtain_source()
[all …]
Drtpsession.h404 GstClockTime current_time,
408 GstClockTime current_time,
415 … GstClockTime current_time, GstClockTime running_time);
419 GstFlowReturn rtp_session_schedule_bye (RTPSession *sess, GstClockTime current_time);
422 GstClockTime rtp_session_next_timeout (RTPSession *sess, GstClockTime current_time);
423 GstFlowReturn rtp_session_on_timeout (RTPSession *sess, GstClockTime current_time,
427 gboolean rtp_session_request_early_rtcp (RTPSession * sess, GstClockTime current_time,
/third_party/boost/libs/numeric/odeint/test/
Dbulirsch_stoer.cpp107 …std::cout << "one step successful, new time: " << bs_do.current_time() << " (" << t << ")" << std:… in BOOST_AUTO_TEST_CASE()
110 …std::cout << "x( " << bs_do.current_time() << " ) = [ " << x[0] << " , " << x[1] << " , " << x[2] … in BOOST_AUTO_TEST_CASE()
112 bs_do.calc_state( bs_do.current_time()/3 , x ); in BOOST_AUTO_TEST_CASE()
113 …std::cout << "x( " << bs_do.current_time()/3 << " ) = [ " << x[0] << " , " << x[1] << " , " << x[2… in BOOST_AUTO_TEST_CASE()
122 …std::cout << "x( " << bs_do.current_time() << " ) = [ " << x[0] << " , " << x[1] << " , " << x[2] … in BOOST_AUTO_TEST_CASE()
134 …std::cout << "x( " << bs_do.current_time() << " ) = [ " << x[0] << " , " << x[1] << " , " << x[2] … in BOOST_AUTO_TEST_CASE()
/third_party/glib/glib/tests/
Dtimeout.c149 gint64 current_time; in test_func() local
151 current_time = g_get_monotonic_time (); in test_func()
159 g_assert_cmpint (current_time / 1000 - last_time / 1000, <=, 2500); in test_func()
161 g_assert_cmpint (current_time / 1000 - last_time / 1000, <=, 1500); in test_func()
163 last_time = current_time; in test_func()
/third_party/flutter/glfw/tests/
Dtearing.c121 double last_time, current_time; in main() local
201 current_time = glfwGetTime(); in main()
202 if (current_time - last_time > 1.0) in main()
204 frame_rate = frame_count / (current_time - last_time); in main()
206 last_time = current_time; in main()
/third_party/grpc/src/php/tests/interop/
Dstress_client.php45 $current_time = microtime(true);
46 if ($deadline && $current_time > $deadline) {
52 $qps = round($count / ($current_time - $start_time));
/third_party/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_def_task01.c100 time_t current_time, prev_time, delta_time; in main() local
189 current_time = time(NULL); in main()
191 delta_time = current_time - prev_time; in main()
202 prev_time = current_time; in main()
Dcpuctl_test03.c100 time_t current_time, prev_time, delta_time; in main() local
192 current_time = time(NULL); in main()
193 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
201 prev_time = current_time; in main()
Dcpuctl_def_task04.c100 time_t current_time, prev_time, delta_time; in main() local
206 current_time = time(NULL); in main()
208 delta_time = current_time - prev_time; in main()
219 prev_time = current_time; in main()
Dcpuctl_def_task03.c98 time_t current_time, prev_time, delta_time; in main() local
196 current_time = time(NULL); in main()
198 delta_time = current_time - prev_time; in main()
209 prev_time = current_time; in main()
Dcpuctl_test04.c101 time_t current_time, prev_time, delta_time; in main() local
203 current_time = time(NULL); in main()
204 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
212 prev_time = current_time; in main()
Dcpuctl_test01.c100 time_t current_time, prev_time, delta_time; in main() local
185 current_time = time(NULL); in main()
186 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
194 prev_time = current_time; in main()
Dcpuctl_def_task02.c102 time_t current_time, prev_time, delta_time; in main() local
200 current_time = time(NULL); in main()
202 delta_time = current_time - prev_time; in main()
213 prev_time = current_time; in main()
Dcpuctl_test02.c105 time_t current_time, prev_time, delta_time; in main() local
197 current_time = time(NULL); in main()
198 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
206 prev_time = current_time; in main()
/third_party/mbedtls/library/
Dssl_ticket.c106 uint32_t current_time = (uint32_t) mbedtls_time( NULL ); in ssl_ticket_update_keys()
109 if( current_time >= key_time && in ssl_ticket_update_keys()
110 current_time - key_time < ctx->ticket_lifetime ) in ssl_ticket_update_keys()
367 mbedtls_time_t current_time = mbedtls_time( NULL ); in mbedtls_ssl_ticket_parse() local
369 if( current_time < session->start || in mbedtls_ssl_ticket_parse()
370 (uint32_t)( current_time - session->start ) > ctx->ticket_lifetime ) in mbedtls_ssl_ticket_parse()
/third_party/boost/libs/test/doc/examples/
Dexample21.run.cpp14 int current_time = 0; // real call is required here in BOOST_AUTO_TEST_CASE() local
17 BOOST_TEST_MESSAGE( "Current time:" << current_time ); in BOOST_AUTO_TEST_CASE()

12345