Searched refs:tsnow (Results 1 – 1 of 1) sorted by relevance
1689 struct timespec tsnow; in mg_get_current_time_ns() local1690 clock_gettime(CLOCK_REALTIME, &tsnow); in mg_get_current_time_ns()1691 return (((uint64_t)tsnow.tv_sec) * 1000000000) + (uint64_t)tsnow.tv_nsec; in mg_get_current_time_ns()1712 struct timespec tsnow; in DEBUG_TRACE_FUNC() local1717 clock_gettime(CLOCK_REALTIME, &tsnow); in DEBUG_TRACE_FUNC()1718 nsnow = ((uint64_t)tsnow.tv_sec) * ((uint64_t)1000000000) in DEBUG_TRACE_FUNC()1719 + ((uint64_t)tsnow.tv_nsec); in DEBUG_TRACE_FUNC()1727 (unsigned long)tsnow.tv_sec, in DEBUG_TRACE_FUNC()1728 (unsigned long)tsnow.tv_nsec, in DEBUG_TRACE_FUNC()