Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Loop profilers on various platforms
Hi All,

I wanted to know which all platforms have a loop profiling tool.
Any pointers on this will hellp me a lot.

I can immediately think of looptool on Solaris.

Thanks
Rohini

Report this thread to moderator Post Follow-up to this message
Old Post
Rohini
05-05-05 09:00 PM


Re: Loop profilers on various platforms
Rohini wrote:

> I wanted to know which all platforms have a loop profiling tool.
> Any pointers on this will hellp me a lot.


What is loop profiling?

The IBM Fortran H compiler has a number of loop optimization, such as
moving invariant computations out of a loop, strength reduction, and
probably more.  To do that, it has to find loops, which it does even
if they are made up of IF and GOTO, though DO loops are easier for
people to find.

If loop optimization is on (OPT=2), it had an option to print out a
listing indented based on the nesting level.  Is that loop profiling?

Another that I knew from about the same time frame was called FETE
(Fortran Execution Time Estimator).  It would take an input Fortran
program, add extra statements to it that would then be fed to the
compiler.  The listing of the modified program would normally not be
printed.  (I never saw one.)  The modified program was them compiled
and executed.  At the normal end of the original program, it would
then print out a source listing where each statement included the
number of times it was execute, an approximate time for executing that
statement, and one other, I believe the number of times a logical IF
expression was .TRUE.

FETE, then, could be used to find out where the program is spending
most of its time, usually due to loops, which could be called loop
profiling.  I tried to find FETE a few years ago, but it might be that
it doesn't exist anymore.

-- glen

(comp.lang.fortran added)

Report this thread to moderator Post Follow-up to this message
Old Post
glen herrmannsfeldt
05-06-05 01:58 AM


Re: Loop profilers on various platforms
Rohini wrote:
> Hi All,
>
> I wanted to know which all platforms have a loop profiling tool.
> Any pointers on this will hellp me a lot.

I echo the other comment/question - what exactly do you mean?

On HP-UX IA-64 you may want to look at Caliper, CxPerf (old), and
Prospect. These are interesting tools and, at least Caliper, has some
support for region profiliing, which you can use for loop profiling.

SGI Irix has SpeedShop - or however they call it today ;-)

x86 Window$, of course, has that Intel tool, as well as the
Rational/IBM tools, and probably a gadzillion more.

-- Robert

>
> I can immediately think of looptool on Solaris.

Report this thread to moderator Post Follow-up to this message
Old Post
Robert H
05-15-05 12:14 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Compilers archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:34 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.