Home
last modified time | relevance | path

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

/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_runtime/
Druntime.c220 __attribute__((weak)) int _gettimeofday (struct timeval *__restrict tv, __unused void *__restrict t… in _gettimeofday() argument
221 if (tv) { in _gettimeofday()
223 tv->tv_sec = (time_t)(us_since_epoch / 1000000); in _gettimeofday()
224 tv->tv_usec = (suseconds_t)(us_since_epoch % 1000000); in _gettimeofday()
229 __attribute((weak)) int settimeofday(__unused const struct timeval *tv, __unused const struct timez… in settimeofday() argument
230 if (tv) { in settimeofday()
231 int64_t us_since_epoch = tv->tv_sec * 1000000 + tv->tv_usec; in settimeofday()