Home
last modified time | relevance | path

Searched refs:tv_usec (Results 1 – 10 of 10) sorted by relevance

/btstack/tool/
H A Dcreate_packet_log.py65 tv_usec = int(t2) * 1000
66 return (tv_sec, tv_usec)
76 (tv_sec, tv_usec) = generateTimestamp(timestamp)
79 fout.write(arrayForNet32(tv_usec))
/btstack/platform/posix/
H A Dbtstack_run_loop_posix.c152 time_ms = (uint32_t) ((tv.tv_sec - init_tv.tv_sec) * 1000) + (tv.tv_usec / 1000); in btstack_run_loop_posix_get_time_ms()
210 tv.tv_usec = (int) (delta_ms - (tv.tv_sec * 1000)) * 1000; in btstack_run_loop_posix_execute()
333 init_tv.tv_usec = 0; in btstack_run_loop_posix_init()
H A Dhci_dump_posix_fs.c129 tv_us = curr_time.tv_usec; in hci_dump_posix_fs_log_packet()
150 ts_usec = 0xdcddb30f2f8000LLU + 1000000LLU * curr_time.tv_sec + curr_time.tv_usec; in hci_dump_posix_fs_log_packet()
H A Dhci_dump_posix_stdout.c71 uint16_t milliseconds = curr_time.tv_usec / 1000; in hci_dump_posix_stdout_timestamp()
/btstack/platform/qt/
H A Dbtstack_run_loop_qt.cpp208 time_ms = (uint32_t) ((tv.tv_sec - init_tv.tv_sec) * 1000) + (tv.tv_usec / 1000); in btstack_run_loop_qt_get_time_ms()
350 init_tv.tv_usec = 0; in btstack_run_loop_qt_init()
/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()
/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 …k_run_loop_corefoundation_get_time_ms: %u <- %u / %u", time_ms, (int) tv.tv_sec, (int) tv.tv_usec);
253 …init_cf = ((double)init_tv.tv_sec) + (((double)init_tv.tv_usec)/1000000.0) - kCFAbsoluteTimeInterv…
/btstack/3rd-party/lwip/core/src/netif/ppp/
H A Ddemand.c334 tv.tv_usec = 0;
/btstack/3rd-party/lwip/core/src/include/lwip/
H A Dsockets.h528 long tv_usec; /* and microseconds */ member
/btstack/3rd-party/lwip/core/src/api/
H A Dsockets.c198 ((struct timeval *)(optval))->tv_usec = (long)(((loc) % 1000U) * 1000U); }while(0)
199 … struct timeval *)(optval))->tv_sec * 1000) + (((const struct timeval *)(optval))->tv_usec / 1000))
1978 timeout ? (s32_t)timeout->tv_usec : (s32_t) - 1)); in lwip_select()
2001 if (timeout && timeout->tv_sec == 0 && timeout->tv_usec == 0) { in lwip_select()
2076 long msecs_long = ((timeout->tv_sec * 1000) + ((timeout->tv_usec + 500) / 1000)); in lwip_select()