Re: [PATCH] MI: new timing command

Vladimir Prus
2006-12-31T15:34:31Z

Nick Roberts wrote:

> + static long
> + timval_diff (struct timeval start, struct timeval end)
> + Â  {
> + Â  Â  return ((end.tv_sec - start.tv_sec) * 1000000) +
> + Â  Â  Â  (end.tv_usec - start.tv_usec);
> + Â  }

Did you really meant to name a function "timval_diff" as opposed to
"timeval_diff"?

- Volodya