PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

profiling within one subroutine

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
Mr. JS



Joined: 02 Jul 2008
Posts: 3
Location: Kiel, Germany

PostPosted: Wed Jul 02, 2008 9:55 am    Post subject: profiling within one subroutine Reply with quote

Hello!

I'm wondering if there is any possibility to profile the time usage within one long subroutine because I want to know which part of this subroutine is most time consuming. I know that other compilers have the possibility to use directives which build "profile regions", such that these regions are treated like separate subroutines by the profiler.

I use pgf90 7.0-4 in combination with pgprof.

Thanks for your help!
Jan
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Wed Jul 02, 2008 10:14 am    Post subject: Reply with quote

Hi,

Try -Mprof=lines on that file/function.

Hongyon
Back to top
View user's profile
Mr. JS



Joined: 02 Jul 2008
Posts: 3
Location: Kiel, Germany

PostPosted: Thu Jul 03, 2008 8:55 am    Post subject: Reply with quote

Hey!

Thanks, I think I can live with that!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
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 © phpBB Group