None.
Reports the time taken in each compilation phase to standard output.
-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 compiler time and the time that the CPU spends handling system calls.
None.
xlc myprogram.c -qphsinfoThe output will look similar to:
C Init - Phase Ends; 0.010/ 0.040 IL Gen - Phase Ends; 0.040/ 0.070 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.000Compiling the same program with -O4 gives:
C Init - Phase Ends; 0.010/ 0.040 IL Gen - Phase Ends; 0.060/ 0.070 IPA - Phase Ends; 0.060/ 0.070 IPA - Phase Ends; 0.070/ 0.110 W-TRANS - Phase Ends; 0.060/ 0.180 OPTIMIZ - Phase Ends; 0.010/ 0.010 REGALLO - Phase Ends; 0.010/ 0.020 AS - Phase Ends; 0.000/ 0.000
xlc++ myprogram.C -qphsinfoThe 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.000Compiling 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