On 07/09/2014 03:57 AM, Larry wrote: > struct timeval s,e; [...] > gettimeofday(&e,NULL); > > printf("so ? %d %lu %d %d %d",g,e.tv_usec - s.tv_usec, > arr[4],arr[9],pol);
Changing the topic a little, the calculation above ignores the tv_sec members of s and e.
Ali