Process Timer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Process Timer

hamed rafi
Hi, All

I am writing a multi-agent application, in which I have
to know the exact number cpu cycles used by my agent processes.

Just like windows that there is a getProcessTimes(int pid)
is there any equivalent function in kernel 2.6.x??
I know about jiffies but I need much more precise information.

Cheers.

--
Hamed Rafi.
Qazvin Azad University.
Mechatronics::Research::Laboratory(MRL).
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...