This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
CPU usage by threads
- From: "Daniel Lidsten" <Daniel dot Lidsten at combitechsystems dot com>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 24 Oct 2002 09:11:10 +0200
- Subject: [ECOS] CPU usage by threads
Hi,
I would like to know how much CPU time each thread in the system make
use of but i currently don't see any easy way of doing this? Does it
exists any such feature? If not, maybe it is possible to add some hook
functions that gets called by the kernel each time it performs a task
switch. These functions can then perform some logging, or just do
nothing at all if they are not used.
Regards, Daniel Lidsten
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss