Converting gettimeofday() microsecond to seconds
<p>In Android framework code, there's a piece of code that computes the current time in micro seconds as below. Would anyoone know why the factor 1000000ll and not 1000000? </p>

<pre><code>static int64_t getNowUs() {
    struct timeval tv;
    gettimeofday(&amp;tv, NULL);

    return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
}
</code></pre>
