stackdriver_trace.c
/* Return the current timestamp as a double */
Return the current timestamp as a double
Return the current timestamp as a double
static double stackdriver_trace_now()
{
    struct timeval tv;
    gettimeofday(&tv, NULL);
    return (double) (tv.tv_sec + tv.tv_usec / 1000000.00);
}
static double stackdriver_trace_now ( ) { struct timeval tv ; gettimeofday ( & tv , NULL ) ; return ( double ) ( tv . tv_sec + tv . tv_usec / 1000000.00 ) ; }
Return the current timestamp as a double
Return the current timestamp as a double