openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/sys-utils/hwclock.c
double time_diff(struct timeval subtrahend, struct timeval subtractor)
{
    return (subtrahend.tv_sec - subtractor.tv_sec) +
           (subtrahend.tv_usec - subtractor.tv_usec) / 1E6;
}
/*
 * The difference in seconds between two times in "timeval" format.
 */
The difference in seconds between two times in "timeval" format.
The difference in seconds between two times in " timeval " format .
double time_diff(struct timeval subtrahend, struct timeval subtractor)
{
    return (subtrahend.tv_sec - subtractor.tv_sec) +
           (subtrahend.tv_usec - subtractor.tv_usec) / 1E6;
}
double time_diff ( struct timeval subtrahend , struct timeval subtractor ) { return ( subtrahend . tv_sec - subtractor . tv_sec ) + ( subtrahend . tv_usec - subtractor . tv_usec ) / 1E6 ; }
The difference in seconds between two times in "timeval" format.
The difference in seconds between two times in " timeval " format .