Process Timer

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

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.


Hamed Rafi.
Qazvin Azad University.
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]