Home
last modified time | relevance | path

Searched refs:tv_now (Results 1 – 25 of 150) sorted by relevance

123456

/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/arch/sdl/
H A Dtimer.cpp62 const uint32_t tv_now = SDL_GetTicks(); in timer_delay_bound() local
67 if (unlikely(start > tv_now)) in timer_delay_bound()
68 start = tv_now; in timer_delay_bound()
69 if (unlikely(tv_now - start >= bound)) in timer_delay_bound()
71 FrameStart = tv_now; in timer_delay_bound()
/dports/games/atris/atris-1.0.7/
H A Devent.c589 *pause_begin_time = tv_now; in do_pause()
639 Uint32 tv_now, tv_start; in event_loop() local
787 tv_now = SDL_GetTicks(); in event_loop()
790 if (tv_start >= tv_now) in event_loop()
852 Debug("Fall: %d %d\n", tv_now, tv_now - State[P].tv_next_fall); in event_loop()
929 Debug("Tetr: %d %d (%d)\n", tv_now, tv_now - in event_loop()
949 tv_now = SDL_GetTicks(); in event_loop()
1128 tv_now = SDL_GetTicks(); in event_loop()
1333 tv_now = SDL_GetTicks(); in event_loop()
1422 tv_now = SDL_GetTicks(); in event_loop()
[all …]
/dports/games/d2x/d2x-0.2.5/arch/linux/
H A Dtimer.c11 struct timeval tv_now; in timer_get_fixed_seconds() local
12 gettimeofday(&tv_now, NULL); in timer_get_fixed_seconds()
13 …x=i2f(tv_now.tv_sec - tv_old.tv_sec) + fixdiv(i2f((tv_now.tv_usec - tv_old.tv_usec)/1000), i2f(100… in timer_get_fixed_seconds()
/dports/devel/godot-tools/godot-3.2.3-stable/drivers/unix/
H A Dos_unix.cpp87 struct timespec tv_now = { 0, 0 }; in _setup_clock() local
89 _clock_start = ((uint64_t)tv_now.tv_nsec / 1000L) + (uint64_t)tv_now.tv_sec * 1000000L; in _setup_clock()
185 struct timeval tv_now; in get_system_time_secs() local
186 gettimeofday(&tv_now, NULL); in get_system_time_secs()
187 return uint64_t(tv_now.tv_sec); in get_system_time_secs()
191 struct timeval tv_now; in get_system_time_msecs() local
192 gettimeofday(&tv_now, NULL); in get_system_time_msecs()
193 return uint64_t(tv_now.tv_sec) * 1000 + uint64_t(tv_now.tv_usec) / 1000; in get_system_time_msecs()
273 struct timespec tv_now = { 0, 0 }; in get_ticks_usec()
274 clock_gettime(GODOT_CLOCK, &tv_now); in get_ticks_usec()
[all …]
/dports/devel/godot/godot-3.2.3-stable/drivers/unix/
H A Dos_unix.cpp87 struct timespec tv_now = { 0, 0 }; in _setup_clock() local
89 _clock_start = ((uint64_t)tv_now.tv_nsec / 1000L) + (uint64_t)tv_now.tv_sec * 1000000L; in _setup_clock()
185 struct timeval tv_now; in get_system_time_secs() local
186 gettimeofday(&tv_now, NULL); in get_system_time_secs()
187 return uint64_t(tv_now.tv_sec); in get_system_time_secs()
191 struct timeval tv_now; in get_system_time_msecs() local
192 gettimeofday(&tv_now, NULL); in get_system_time_msecs()
193 return uint64_t(tv_now.tv_sec) * 1000 + uint64_t(tv_now.tv_usec) / 1000; in get_system_time_msecs()
273 struct timespec tv_now = { 0, 0 }; in get_ticks_usec()
274 clock_gettime(GODOT_CLOCK, &tv_now); in get_ticks_usec()
[all …]
/dports/games/d2x/d2x-0.2.5/arch/sdl/
H A Dtimer.c26 unsigned long tv_now = SDL_GetTicks(); in timer_get_fixed_seconds() local
27 x=i2f(tv_now/1000) | fixdiv(i2f(tv_now % 1000),i2f(1000)); in timer_get_fixed_seconds()
/dports/games/d2x/d2x-0.2.5/arch/win32/
H A Dtimer.c37 unsigned long tv_now=timeGetTime()-old_tv; in timer_get_fixed_seconds() local
38 x=i2f(tv_now/1000) | fixdiv(i2f(tv_now % 1000),i2f(1000)); in timer_get_fixed_seconds()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/powerpc/benchmarks/
H A Dnull_syscall.c132 struct timespec tv_start, tv_now; in main() local
142 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
145 elapsed_ns = (tv_now.tv_sec - tv_start.tv_sec) * 1000000000ULL + in main()
146 (tv_now.tv_nsec - tv_start.tv_nsec); in main()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/powerpc/benchmarks/
H A Dnull_syscall.c132 struct timespec tv_start, tv_now; in main() local
142 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
145 elapsed_ns = (tv_now.tv_sec - tv_start.tv_sec) * 1000000000ULL + in main()
146 (tv_now.tv_nsec - tv_start.tv_nsec); in main()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/powerpc/benchmarks/
H A Dnull_syscall.c132 struct timespec tv_start, tv_now; in main() local
142 clock_gettime(CLOCK_MONOTONIC, &tv_now); in main()
145 elapsed_ns = (tv_now.tv_sec - tv_start.tv_sec) * 1000000000ULL + in main()
146 (tv_now.tv_nsec - tv_start.tv_nsec); in main()
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/curl-sys-0.4.48+curl-7.79.1/curl/tests/unit/
H A Dunit1309.c79 struct curltime tv_now = {0, 0}; variable
130 tv_now.tv_usec = i;
131 root = Curl_splaygetbest(tv_now, root, &removed);
136 root = Curl_splaygetbest(tv_now, root, &removed);
/dports/audio/lewton/lewton-0.10.2/cargo-crates/curl-sys-0.4.25/curl/tests/unit/
H A Dunit1309.c79 struct curltime tv_now = {0, 0}; variable
130 tv_now.tv_usec = i;
131 root = Curl_splaygetbest(tv_now, root, &removed);
136 root = Curl_splaygetbest(tv_now, root, &removed);
/dports/net/proby/proby-1.0.2/cargo-crates/curl-sys-0.4.34+curl-7.71.1/curl/tests/unit/
H A Dunit1309.c79 struct curltime tv_now = {0, 0}; variable
130 tv_now.tv_usec = i;
131 root = Curl_splaygetbest(tv_now, root, &removed);
136 root = Curl_splaygetbest(tv_now, root, &removed);
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/curl-sys-0.4.41+curl-7.75.0/curl/tests/unit/
H A Dunit1309.c79 struct curltime tv_now = {0, 0}; variable
130 tv_now.tv_usec = i;
131 root = Curl_splaygetbest(tv_now, root, &removed);
136 root = Curl_splaygetbest(tv_now, root, &removed);
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/curl-sys-0.4.51+curl-7.80.0/curl/tests/unit/
H A Dunit1309.c79 struct curltime tv_now = {0, 0}; variable
130 tv_now.tv_usec = i;
131 root = Curl_splaygetbest(tv_now, root, &removed);
136 root = Curl_splaygetbest(tv_now, root, &removed);
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/curl/tests/unit/
H A Dunit1309.c79 struct curltime tv_now = {0, 0}; variable
130 tv_now.tv_usec = i;
131 root = Curl_splaygetbest(tv_now, root, &removed);
136 root = Curl_splaygetbest(tv_now, root, &removed);
/dports/lang/rust/rustc-1.58.1-src/vendor/curl-sys/curl/tests/unit/
H A Dunit1309.c79 struct curltime tv_now = {0, 0}; variable
130 tv_now.tv_usec = i;
131 root = Curl_splaygetbest(tv_now, root, &removed);
136 root = Curl_splaygetbest(tv_now, root, &removed);
/dports/www/newsboat/newsboat-2.22.1/cargo-crates/curl-sys-0.4.39+curl-7.74.0/curl/tests/unit/
H A Dunit1309.c79 struct curltime tv_now = {0, 0}; variable
130 tv_now.tv_usec = i;
131 root = Curl_splaygetbest(tv_now, root, &removed);
136 root = Curl_splaygetbest(tv_now, root, &removed);
/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Dioloop.c237 if (tv_now == NULL) in timeout_update_next()
439 if (tv_now != NULL && timeval_cmp(&timeout->next_run, tv_now) <= 0) { in timeout_reset_timeval()
440 timeout->next_run = *tv_now; in timeout_reset_timeval()
458 if (tv_now->tv_sec == 0) in timeout_get_wait_time()
459 i_gettimeofday(tv_now); in timeout_get_wait_time()
460 tv_r->tv_sec = tv_now->tv_sec; in timeout_get_wait_time()
496 struct timeval tv_now; in io_loop_get_wait_time() local
518 i_gettimeofday(&tv_now); in io_loop_get_wait_time()
523 tv_now.tv_sec = 0; in io_loop_get_wait_time()
532 ioloop_timeval = tv_now; in io_loop_get_wait_time()
[all …]
/dports/sysutils/dunst/dunst-1.6.1/src/
H A Dutils.c220 struct timespec tv_now;
227 clock_gettime(CLOCK_BOOTTIME, &tv_now);
229 clock_gettime(CLOCK_MONOTONIC, &tv_now);
231 return S2US(tv_now.tv_sec) + tv_now.tv_nsec / 1000;
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/innobase/ut/
H A Dut0dbg.cc126 struct timeval tv_now; in speedo_show() local
131 gettimeofday(&tv_now, NULL); in speedo_show()
137 timersub(&tv_now, &speedo->tv, &tv_diff); in speedo_show()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/innobase/ut/
H A Dut0dbg.cc126 struct timeval tv_now; in speedo_show() local
131 gettimeofday(&tv_now, NULL); in speedo_show()
137 timersub(&tv_now, &speedo->tv, &tv_diff); in speedo_show()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/innobase/ut/
H A Dut0dbg.cc126 struct timeval tv_now; in speedo_show() local
131 gettimeofday(&tv_now, NULL); in speedo_show()
137 timersub(&tv_now, &speedo->tv, &tv_diff); in speedo_show()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/storage/innobase/ut/
H A Dut0dbg.cc126 struct timeval tv_now; in speedo_show() local
131 gettimeofday(&tv_now, NULL); in speedo_show()
137 timersub(&tv_now, &speedo->tv, &tv_diff); in speedo_show()
/dports/databases/mysql56-client/mysql-5.6.51/storage/innobase/ut/
H A Dut0dbg.cc126 struct timeval tv_now; in speedo_show() local
131 gettimeofday(&tv_now, NULL); in speedo_show()
137 timersub(&tv_now, &speedo->tv, &tv_diff); in speedo_show()

123456