#include #include extern DrvPadUdpCommHWTime drvPadUdpCommHWTime_default(); DrvPadUdpCommHWTime __wrap_drvPadUdpCommHWTime() { struct timespec now; uint64_t us; clock_gettime( CLOCK_MONOTONIC, &now ); us = (uint64_t)now.tv_sec; us *= (uint64_t)1000000ULL; us += (uint64_t)now.tv_nsec/1000; return (DrvPadUdpCommHWTime)us; }