我试图跟踪Fortran 90程序中子程序的内存使用情况和CPU时间.要跟踪cpu时间的跟踪,我使用以下内容:
call cpu_time(tic) call subroutine(args) call cpu_time(toc) time = toc-tic
有没有办法做类似记录内存使用的东西?做这个的最好方式是什么?在此先感谢您的帮助.
memory fortran
fortran ×1
memory ×1