Process runtime(real & virtual) mesurments
807567May 23 2001 — edited May 26 2001hi,
I need to mesure how long my task is runnig for peformence analisys in high resolution (microseconds).
I'm looking for a system call to provide me with this inforamtion,
so far i found getrusage() but the resolotion result is in 10ms which is too slow.
I need a cross-platform solution(i.e std function) because development is on linux system.
On linux i discovered a structure named task_current which holds this info, but i can't access it.
Is there a parallel for this on other platforms?
The info held in struct task_current is in cpu time(ticks). any idea how to convert it to human time?
Thanks.
Assaf