[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

RE: time complexity

hai friend 

there  is one more good way to get the time taken by some process 
use times system call
first call this at the start of the program and once at the end
and get the differance in the time values returned by both the calls 
we can all the time usrtime , systime etc ..


man 2 times  

shell command time may be using same system call