From: Frederique Silber-C. <fre...@in...> - 2005-10-14 14:44:32
|
Hello, I am trying to use Perfsuite to profile a multi-threaded program on a=20 quadripro. I am particularly interested in knowing how much time a=20 thread is spending on each processor. I believe that perfsuite can do=20 that but I can't install PAPI (I am not root on the quadripro and so I=20 can't path the kernel with perfctr). I then installed perfsuite without PAPI. And I am getting some results=20 running: $ psrun -r -p myprogram The resulting files are for example myprogram.*.19416.mymachine.xml and=20 also myprogram.19416.mymachine.res.xml. When I watch the results with psprocess $ psprocess -e myprogram myprogram.*.19416.mymachine.xml I get this: File Summary -------------------------------------------------------------------------= -------Samples=20 Self % Total % File 1519 100.00% 100.00% ?? Function Summary -------------------------------------------------------------------------= -------Samples=20 Self % Total % Function 1519 100.00% 100.00% ?? Function:File:Line Summary -------------------------------------------------------------------------= -------Samples=20 Self % Total % Function:File:Line 1519 100.00% 100.00% ??:??:0 So there is no detail. And when I watched the resource utilization, I get this: $ psprocess myprogram.19416.mymachine.res.xml CPU time (user, seconds) : 3.69 CPU time (system, seconds) : 0.10 but there is no distinction between CPUs and no distinction between threa= ds. Is there any way for me to get more information using perfsuite without=20 PAPI than what I already have now? Especially with the names of files,=20 functions and the function lines? Is there a way to get the time spent by each thread on each processor? Thank you, Fr=E9d=E9rique. --=20 Fr=E9d=E9rique Silber-Chaussumier T=E9l: +33(0)160764565 D=E9partement INFormatique - =C9quipe Parall=E9lisme INT - 9 rue C. Fourier 91011 Evry - France=09 |