Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageRohini 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)
Post Follow-up to this messageRohini 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.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.