|
| View previous topic :: View next topic |
| Author |
Message |
forest_gump
Joined: 05 Oct 2006 Posts: 23
|
Posted: Thu Oct 26, 2006 8:17 am Post subject: how to get mips, miss cach |
|
|
Hello evry body,
i really very happy to see that two week ago the was a 0 message in this forum "debugging and profilng", and now like we see it's great, continue like this.
but this not my question :-))
i have a program that i profile with the line mode Mprof=line and i use a pgprof to analyse the result, i a get the result "good".
my question where or how can i find this follwing values :
MIPS "million instruction per second" or the total number of instruction exectuted in the program.
number of cache miss in the program .
and other memory information.
CPU time
i am reading the docuemntation, and until now i didn't find any thing, but i hope that i will get some thing soon.
thank's advance.
saad. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Thu Oct 26, 2006 12:37 pm Post subject: |
|
|
Hi Saad,
For this level of profiling you need to use hardware counters. Provided your system has PAPI installed (See: http://icl.cs.utk.edu/papi/) you can add "-Mprof=hwcts" to your compilation. Please refer to section 2.1.3.3 of the PGI Tools Guide for more information.
If you do not have PAPI, you can also try AMD's CodeAnalyst Performance Analyzer, or OProfile.
- Mat |
|
| Back to top |
|
 |
forest_gump
Joined: 05 Oct 2006 Posts: 23
|
Posted: Fri Oct 27, 2006 1:10 am Post subject: |
|
|
thank's mat,
but the papi library need a patch to the kernel "perfctr" and i can't do it to the server, i am a simple user "i am not root", "i do it the last year with papi with little server".
i will try oprofile
thanks,
saad, |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|