Searched refs:currtime (Results 1 – 2 of 2) sorted by relevance
97 uint32_t currtime=esp_cpu_get_ccount(); in gpio_handshake_isr_handler() local98 uint32_t diff=currtime-lasthandshaketime; in gpio_handshake_isr_handler()100 lasthandshaketime=currtime; in gpio_handshake_isr_handler()
663 struct timespec currtime; in pthread_mutex_timedlock() local664 clock_gettime(CLOCK_REALTIME, &currtime); in pthread_mutex_timedlock()665 TickType_t tmo = ((timeout->tv_sec - currtime.tv_sec)*1000 + in pthread_mutex_timedlock()666 (timeout->tv_nsec - currtime.tv_nsec)/1000000)/portTICK_PERIOD_MS; in pthread_mutex_timedlock()