On Thu, 20 May 1999 [EMAIL PROTECTED] wrote: > I want to calculate exact CPU time for a perticular set of statements in a > 'c' program.Kindly give the solution for the above. check out the manual page of the 'getrusage' system call. in general, you call getrusage at the begging and at the end of the execution of the part of code you want to measure, and ten calculate the diff. between the two measurments (in terms of system time used and user time used). guy
- http://www.linux.org.il/mailing-list.html sunil_mazha
- guy keren