Tzafrir Cohen
Sat, 28 Jul 2001 13:59:11 -0700
On Sat, 28 Jul 2001, guy keren wrote: > > 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. Such as delys of connecting to a remote X server? [Sorry. I haven't gotten yet to test it] -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir