📄 wclock.f
字号:
Function wclock() Result (walltime)! ---------------------------------------------------------------------- Use numerics Implicit None! --- Function 'wclock()' gives wall-clock time in seconds. ! The function used here is the system routine 'gettimeofday'! through the routine 'cclock'. Real(l_) :: walltime, cclock! Integer :: count, count_rate! ---------------------------------------------------------------------- walltime = cclock()! Call system_clock ( count, count_rate )! walltime = Real( count, l_ )/Real( count_rate, l_ )! ---------------------------------------------------------------------- End Function wclock
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -