Reports the time taken in each compilation phase to standard output.
.-nophsinfo-. >>- -q--+-phsinfo---+------------------------------------------><
@PROCESS:
@PROCESS PHSINFO | NOPHSINFO
-qnophsinfo
The output takes the form number1/number2 for each phase where number1 represents the CPU time used by the compiler and number2 represents the total of the compile time and the time that the CPU spends handling system calls.
The time reported by -qphsinfo is in seconds.
xlf90 app.f -qphsinfo
The
output looks similar to: FORTRAN phase 1 ftphas1 TIME = 0.000 / 0.000
** m_module === End of Compilation 1 ===
FORTRAN phase 1 ftphas1 TIME = 0.000 / 0.000
** testassign === End of Compilation 2 ===
FORTRAN phase 1 ftphas1 TIME = 0.000 / 0.010
** dataassign === End of Compilation 3 ===
HOT - Phase Ends; 0.000/ 0.000
HOT - Phase Ends; 0.000/ 0.000
HOT - Phase Ends; 0.000/ 0.000
W-TRANS - Phase Ends; 0.000/ 0.010
OPTIMIZ - Phase Ends; 0.000/ 0.000
REGALLO - Phase Ends; 0.000/ 0.000
AS - Phase Ends; 0.000/ 0.000
W-TRANS - Phase Ends; 0.000/ 0.000
OPTIMIZ - Phase Ends; 0.000/ 0.000
REGALLO - Phase Ends; 0.000/ 0.000
AS - Phase Ends; 0.000/ 0.000
W-TRANS - Phase Ends; 0.000/ 0.000
OPTIMIZ - Phase Ends; 0.000/ 0.000
REGALLO - Phase Ends; 0.000/ 0.000
AS - Phase Ends; 0.000/ 0.000
1501-510 Compilation successful for file app.f.
Each phase is invoked three times, corresponding to each
compilation unit. FORTRAN represents front-end parsing
and semantic analysis, HOT loop transformations, W-TRANS intermediate
language translation, OPTIMIZ high–level optimization, REGALLO register
allocation and low–level optimization, and AS final
assembly.xlf90 myprogram.f -qphsinfo -O4
The following output results: FORTRAN phase 1 ftphas1 TIME = 0.010 / 0.020
** m_module === End of Compilation 1 ===
FORTRAN phase 1 ftphas1 TIME = 0.000 / 0.000
** testassign === End of Compilation 2 ===
FORTRAN phase 1 ftphas1 TIME = 0.000 / 0.000
** dataassign === End of Compilation 3 ===
HOT - Phase Ends; 0.000/ 0.000
HOT - Phase Ends; 0.000/ 0.000
HOT - Phase Ends; 0.000/ 0.000
IPA - Phase Ends; 0.080/ 0.100
1501-510 Compilation successful for file app.f.
IPA - Phase Ends; 0.050/ 0.070
W-TRANS - Phase Ends; 0.010/ 0.030
OPTIMIZ - Phase Ends; 0.020/ 0.020
REGALLO - Phase Ends; 0.040/ 0.040
AS - Phase Ends; 0.000/ 0.000
Note that during
the IPA (interprocedural analysis) optimization phases,
the program has resulted in one compilation unit; that is, all procedures
have been inlined.