Time – timed FORTRAN multithreaded program

I have a Fortran 90 program that calls multithreaded routines I want to evaluate this program from the calling routine If I use CPU_ Time (), I'll eventually put all threads (8 in my case) into the CPU_ Time is added together, not the actual time required for the program to run The same seems to be true of the etime () routine Any ideas on how to calculate this program (without using a stopwatch)@ H_ 301_ 4@

resolvent

Solution

Try OMP_ get_ wtime(); Please look http://gcc.gnu.org/onlinedocs/libgomp/omp_005fget_005fwtime.html Your signature@ H_ 301_ 4@ @H_ 301_ 4@

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>