Searched refs:USEC_PER_SEC (Results 1 – 5 of 5) sorted by relevance
488 #define USEC_PER_SEC 1000000 macro516 *usec = USEC_PER_SEC * (dt % CLOCKS_PER_SEC) / CLOCKS_PER_SEC; in picopal_get_timer()535 *usec = (unsigned int) ((double)USEC_PER_SEC * (dt / tf)) % USEC_PER_SEC; in picopal_get_timer()
51 #define USEC_PER_SEC 1000000 macro113 return ((UINT64)ts_now.tv_sec * USEC_PER_SEC) + ((UINT64)ts_now.tv_nsec / NSEC_PER_USEC); in now_us()139 new_value.it_value.tv_sec = (delay_micros / USEC_PER_SEC); in set_nonwake_alarm()140 new_value.it_value.tv_nsec = (delay_micros % USEC_PER_SEC) * NSEC_PER_USEC; in set_nonwake_alarm()
58 #define USEC_PER_SEC 1000000L macro167 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000; in ts_log()171 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; in ts_log()177 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; in ts_log()
884 … if (process->m_comm.WaitForPacketWithTimeoutMicroSeconds (exc_reply_packet, 1 * USEC_PER_SEC)) in AsyncThread()
187 #define USEC_PER_SEC 1000000L macro368 return ((UINT64)ts_now.tv_sec * USEC_PER_SEC) + ((UINT64)ts_now.tv_nsec / 1000); in time_now_us()