On Sun, Oct 20, 2002 at 10:47:00PM -0700, Abel Pires da Silva wrote: > The code above is for time in SECOND, any idea how to > change it into micro/mili second? Try gettimeofday. I found it by reading the manpage for the time() function (man 2 time), and looking in the SEE ALSO section. -- laurel at sdf.lonestar.org http://dreadnought.gorgorg.org