REAL time_begin, time_end
...
CALL CPU_TIME ( time_begin ) !
do i=1,20,1
print*,i
End Do
CALL CPU_TIME ( time_end )
WRITE (*,*) 'Time of operation was ', time_end - time_begin, ' seconds'
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |