Erwan Jahier wrote: > > I am benchmarking programs written in Eclipse that fork processes. > To do that, I use the `statistics(times, Times)' command. > > The problem I have is that the user and system times it gives do > not take into account the time spent in forked processes. Do you > think there exist a turn-around for that problem? (other than > looking at the real time) You can obtain that information on the C level via the getrusage() library function. Eclipse has no predefined interface to that, but you could write your own external predicate. Apart from that, when you run from a Unix shell, you could use the w command which returns this kind of summary information. -- Joachim Schimpf / phone: +44 20 7594 8187 IC-Parc, Imperial College / mailto:J.Schimpf@ic.ac.uk London SW7 2AZ, UK / http://www.icparc.ic.ac.uk/eclipseReceived on Tue Oct 03 12:28:05 2000
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:06 PM GMT GMT