Home
last modified time | relevance | path

Searched refs:time_ms (Results 1 – 19 of 19) sorted by relevance

/btstack/platform/windows/
H A Dbtstack_run_loop_windows.c76 uint32_t time_ms = (uint32_t)((now_time.QuadPart - start_time.QuadPart) / 10000); in btstack_run_loop_windows_get_time_ms() local
77 log_debug("btstack_run_loop_windows_get_time_ms: %u", time_ms); in btstack_run_loop_windows_get_time_ms()
78 return time_ms; in btstack_run_loop_windows_get_time_ms()
156 uint32_t time_ms = btstack_run_loop_windows_get_time_ms(); in btstack_run_loop_windows_set_timer() local
157 a->timeout = time_ms + timeout_in_ms; in btstack_run_loop_windows_set_timer()
158 …ack_run_loop_windows_set_timer to %u ms (now %u, timeout %u)", a->timeout, time_ms, timeout_in_ms); in btstack_run_loop_windows_set_timer()
/btstack/platform/posix/
H A Dbtstack_run_loop_posix.c144 uint32_t time_ms; in btstack_run_loop_posix_get_time_ms() local
148 time_ms = (uint32_t) timespec_diff_milis(&init_ts, &now_ts); in btstack_run_loop_posix_get_time_ms()
152 time_ms = (uint32_t) ((tv.tv_sec - init_tv.tv_sec) * 1000) + (tv.tv_usec / 1000); in btstack_run_loop_posix_get_time_ms()
154 return time_ms; in btstack_run_loop_posix_get_time_ms()
250 uint32_t time_ms = btstack_run_loop_posix_get_time_ms(); in btstack_run_loop_posix_set_timer() local
251 a->timeout = time_ms + timeout_in_ms; in btstack_run_loop_posix_set_timer()
252 …log_debug("btstack_run_loop_posix_set_timer to %u ms (now %u, timeout %u)", a->timeout, time_ms, t… in btstack_run_loop_posix_set_timer()
/btstack/platform/qt/
H A Dbtstack_run_loop_qt.cpp200 uint32_t time_ms; in btstack_run_loop_qt_get_time_ms() local
204 time_ms = (uint32_t) timespec_diff_milis(&init_ts, &now_ts); in btstack_run_loop_qt_get_time_ms()
208 time_ms = (uint32_t) ((tv.tv_sec - init_tv.tv_sec) * 1000) + (tv.tv_usec / 1000); in btstack_run_loop_qt_get_time_ms()
210 return time_ms; in btstack_run_loop_qt_get_time_ms()
221 uint32_t time_ms = btstack_run_loop_qt_get_time_ms(); in btstack_run_loop_qt_set_timer() local
222 a->timeout = time_ms + timeout_in_ms; in btstack_run_loop_qt_set_timer()
223 …log_debug("btstack_run_loop_qt_set_timer to %u ms (now %u, timeout %u)", a->timeout, time_ms, time… in btstack_run_loop_qt_set_timer()
/btstack/platform/embedded/
H A Dhci_dump_embedded_stdout.c59 uint32_t time_ms = btstack_run_loop_get_time_ms(); in hci_dump_embedded_stdout_timestamp() local
60 int seconds = time_ms / 1000u; in hci_dump_embedded_stdout_timestamp()
64 uint16_t p_ms = time_ms - (seconds * 1000u); in hci_dump_embedded_stdout_timestamp()
H A Dhci_dump_segger_rtt_binary.c80 uint32_t time_ms = btstack_run_loop_get_time_ms(); in hci_dump_segger_rtt_binary_log_packet() local
81 uint32_t tv_sec = time_ms / 1000u; in hci_dump_segger_rtt_binary_log_packet()
82 uint32_t tv_us = (time_ms - (tv_sec * 1000)) * 1000; in hci_dump_segger_rtt_binary_log_packet()
H A Dhci_dump_segger_rtt_stdout.c113 uint32_t time_ms = btstack_run_loop_get_time_ms(); in hci_dump_segger_rtt_stdout_timestamp() local
114 int seconds = time_ms / 1000u; in hci_dump_segger_rtt_stdout_timestamp()
118 uint16_t p_ms = time_ms - (seconds * 1000u); in hci_dump_segger_rtt_stdout_timestamp()
/btstack/port/renesas-tb-s1ja-cc256x/template/btstack_example/src/
H A Dhal_entry.c45 volatile uint32_t time_ms; variable
49 time_ms++; in timer_1ms()
53 return time_ms; in hal_time_ms()
/btstack/port/renesas-ek-ra6m4a-da14531/port/
H A Dhal_entry.c69 volatile uint32_t time_ms; variable
73 time_ms++; in timer_1ms()
77 return time_ms; in hal_time_ms()
/btstack/test/maths/
H A Dsqrt_test.cpp53 uint32_t time_ms = (uint32_t)((tv.tv_sec - init_tv.tv_sec) * 1000) + (tv.tv_usec / 1000); in get_time_ms() local
54 return time_ms; in get_time_ms()
/btstack/platform/corefoundation/
H A Dbtstack_run_loop_corefoundation.m209 uint32_t time_ms = ((tv.tv_sec - init_tv.tv_sec) * 1000) + (tv.tv_usec / 1000);
210 …log_debug("btstack_run_loop_corefoundation_get_time_ms: %u <- %u / %u", time_ms, (int) tv.tv_sec, …
211 return time_ms;
216 uint32_t time_ms = btstack_run_loop_corefoundation_get_time_ms();
217 a->timeout = time_ms + timeout_in_ms;
218 …_loop_corefoundation_set_timer to %u ms (now %u, timeout %u)", a->timeout, time_ms, timeout_in_ms);
/btstack/test/mesh/
H A Dsimulator.py311 time_ms = get_time_millis()
312 while len(timers_timeouts) and timers_timeouts[0] < time_ms:
318 timeout = (timers_timeouts[0] - time_ms) / 1000.0
/btstack/example/
H A Dle_audio_demo_util_sink.c158 uint32_t time_ms; member
568 …me: %" PRId32 " - %" PRId32 " %" PRId32 "\n", time->time_ms, me->last_receive_time_ms, time->time_… in audio_processing_streaming()
570 if( btstack_time_delta( time->time_ms, me->last_receive_time_ms ) > 100) { in audio_processing_streaming()
/btstack/src/mesh/
H A Dadv_bearer.c231 static void adv_bearer_set_timeout(uint32_t time_ms){ in adv_bearer_set_timeout() argument
233 btstack_run_loop_set_timer(&adv_timer, time_ms); // compile time constants in adv_bearer_set_timeout()
/btstack/test/security_manager/
H A Dmock.c324 static uint32_t time_ms; variable
326 return time_ms++; in hal_time_ms()
/btstack/test/sbc/
H A Dsbc_encoder.py63 t1 = time_ms()
70 t2 = time_ms()
H A Dsbc_decoder.py230 t1 = time_ms()
239 t2 = time_ms()
H A Dsbc.py25 time_ms = lambda: int(round(time.time() * 1000)) function
/btstack/3rd-party/lwip/core/src/apps/lwiperf/
H A Dlwiperf.c294 u32_t time_ms = time * 10; in lwiperf_tcp_client_send_more() local
295 if (diff_ms >= time_ms) { in lwiperf_tcp_client_send_more()
/btstack/
H A DCHANGELOG.md902 - POSIX, WICED, Windows, FreeRTOS run loops: handle time_ms overrun after 49 days