Hi!
I am trying to figure a way to measure a process' system time.
The Unix's time command seems in effective because it only displays the result in seconds but my program is small so second is inappropriate.
I also tried to use gprof. However gprof uses atexit() to trace the exit point of the program; my program also uses this comamd so it turns out that gprof makes my program run incorrectly.
Is there any tool that is similar to "time" but display the result in nanosecond? (like the gettimeofday() in C)
Thank you very much!