CPU TIME OF THREAD
问题 How I calculate the time in each thread ? the CPU_time not work in this case , because If the process is multithreaded, the CPU time is the sum for all threads. Pseudocode example: PROGRAM MAIN implicit none REAL Times_thread1_Started,Times_thread2_Started,.... REAL Times_thread1_finiched !$OMP PARALLEL !$OMP DO !for each thread do : call CPU_TIME_thread1(Times_thread1_Started) call CPU_TIME_thread2(Times_thread2_Started) .......... .......... !$OMP END DO ...................... .............