Reports the time taken in each compilation phase. Phase information is sent to standard output.
.-nophsinfo-. >>- -q--+-phsinfo---+------------------------------------------><
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 compiler time and the time that the CPU spends handling system calls.
To compile myprogram.C and report the time taken for each phase of the compilation, enter:
xlc++ myprogram.C -qphsinfo
The output will look similar to:
Front End - Phase Ends; 0.004/ 0.005 W-TRANS - Phase Ends; 0.010/ 0.010 OPTIMIZ - Phase Ends; 0.000/ 0.000 REGALLO - Phase Ends; 0.000/ 0.000 AS - Phase Ends; 0.000/ 0.000
Compiling the same program with -O4 gives:
Front End - Phase Ends; 0.004/ 0.006 IPA - Phase Ends; 0.040/ 0.040 IPA - Phase Ends; 0.220/ 0.280 W-TRANS - Phase Ends; 0.030/ 0.110 OPTIMIZ - Phase Ends; 0.030/ 0.030 REGALLO - Phase Ends; 0.010/ 0.050 AS - Phase Ends; 0.000/ 0.000
Related information