1 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
2 <link rel="stylesheet" href="style.css" type="text/css"/>
3 <script src="code.js" type="text/javascript"></script>
5 <h1>nbdkit tvdiff_usec</h1>
8 /* Return the number of µs (microseconds) in y - x. */
10 tvdiff_usec (const struct timeval *x, const struct timeval *y)
14 usec = (y->tv_sec - x->tv_sec) * 1000000;
15 usec += y->tv_usec - x->tv_usec;