78 |
#else |
#else |
79 |
call PAPIF_flops(real_time, proc_time, flpops, mflops, check) |
call PAPIF_flops(real_time, proc_time, flpops, mflops, check) |
80 |
#endif |
#endif |
81 |
WRITE(msgBuf,'(F10.6,A,F10.6,A34,I8)') |
WRITE(msgBuf,'(F12.6,A,F12.6,A34,I8)') |
82 |
$ mflops, ' ', mflops*proc_time/(real_time + 1E-36), |
$ mflops, ' ', mflops*proc_time/(real_time + 1E-36), |
83 |
$ 'Mflop/s during timestep ', iloop |
$ 'Mflop/s during timestep ', iloop |
84 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
85 |
#ifdef PAPI_VERSION |
#ifdef PAPI_VERSION |
86 |
call PAPIF_ipc(real_time, proc_time, instr, ipc, check) |
call PAPIF_ipc(real_time, proc_time, instr, ipc, check) |
87 |
WRITE(msgBuf,'(F10.6,A,F10.6,A34,I8)') |
WRITE(msgBuf,'(F12.6,A,F12.6,A34,I8)') |
88 |
$ ipc, ' ', ipc*proc_time/(real_time + 1E-36), |
$ ipc, ' ', ipc*proc_time/(real_time + 1E-36), |
89 |
$ 'IPC during timestep ', iloop |
$ 'IPC during timestep ', iloop |
90 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
96 |
_BEGIN_MASTER( myThid ) |
_BEGIN_MASTER( myThid ) |
97 |
res = PCLstop(descr, i_result, fp_result, nevents) |
res = PCLstop(descr, i_result, fp_result, nevents) |
98 |
do ipcl = 1, nevents |
do ipcl = 1, nevents |
99 |
WRITE(msgBuf,'(F10.6,A2,A22,A17,I8)'), fp_result(ipcl), |
WRITE(msgBuf,'(F12.6,A2,A22,A17,I8)'), fp_result(ipcl), |
100 |
$ ' ', pcl_counter_name(pcl_counter_list(ipcl)), |
$ ' ', pcl_counter_name(pcl_counter_list(ipcl)), |
101 |
$ 'during timestep ', iloop |
$ 'during timestep ', iloop |
102 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |