/btstack/platform/windows/ |
H A D | btstack_run_loop_windows.c | 76 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 D | btstack_run_loop_posix.c | 144 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 D | btstack_run_loop_qt.cpp | 200 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 D | hci_dump_embedded_stdout.c | 59 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 D | hci_dump_segger_rtt_binary.c | 80 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 D | hci_dump_segger_rtt_stdout.c | 113 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 D | hal_entry.c | 45 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 D | hal_entry.c | 69 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 D | sqrt_test.cpp | 53 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 D | btstack_run_loop_corefoundation.m | 209 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 D | simulator.py | 311 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 D | le_audio_demo_util_sink.c | 158 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 D | adv_bearer.c | 231 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 D | mock.c | 324 static uint32_t time_ms; variable 326 return time_ms++; in hal_time_ms()
|
/btstack/test/sbc/ |
H A D | sbc_encoder.py | 63 t1 = time_ms() 70 t2 = time_ms()
|
H A D | sbc_decoder.py | 230 t1 = time_ms() 239 t2 = time_ms()
|
H A D | sbc.py | 25 time_ms = lambda: int(round(time.time() * 1000)) function
|
/btstack/3rd-party/lwip/core/src/apps/lwiperf/ |
H A D | lwiperf.c | 294 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 D | CHANGELOG.md | 902 - POSIX, WICED, Windows, FreeRTOS run loops: handle time_ms overrun after 49 days
|