Messages in this thread | | | Date | Mon, 24 Oct 2005 11:21:46 +1000 | From | Peter Chubb <> | Subject | Re: Task profiling in Linux |
| |
>>>>> "Claudio" == Claudio Scordino <cloud.of.andor@gmail.com> writes:
Claudio> I found out that Linux provides the getrusage() syscall which Claudio> provides the information that I need. This syscall also says Claudio> both user and system times used by the task, which is a very Claudio> useful thing.
Claudio> However, it has two main drawbacks:
Claudio> - its precision is very low: I'm working with real-time tasks Claudio> on a Athlon-64 and I need a more accurate estimation
Claudio> - it can't be invoked by a generic task to know the execution Claudio> time of another task
This is part of what my microstate accounting package provides .... but I haven't done a port to AMD64 yet...
See http://www.gelato.unsw.edu.au/patches/
-- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes *forever* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |