lin-club  

Re: r2llib-0.10 and biditext-0.05 "cycling dolphins" released

guy keren
Sat, 28 Jul 2001 12:34:25 -0700


On Sat, 28 Jul 2001, mulix wrote:

> diff -ur biditext/ImText.c biditext-prof/ImText.c
> --- biditext/ImText.c Thu Jul 12 03:12:35 2001
> +++ biditext-prof/ImText.c    Sat Jul 28 20:16:00 2001
[stuff deleted...]
> +  struct timeval tv1, tv2;
> +#include "common8.h"
> +  gettimeofday(&tv2, NULL);

profiling is better done by checking CPU time consumed by the process,
with getrusage(), and not by checking real-world time, since that will
cause non-pesistent results, due to other activities run by the machine.

--
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy