correct.f

来自「网络带宽测试工具」· F 代码 · 共 21 行

F
21
字号
      Subroutine correct( nmult, linc, hash )! -------------------------------------------------------------------! --- 'correct' does the same address calculation as done in the!     code to be timed. The time spent here is subtracted from the!     time spent in the actual code of interest.! -------------------------------------------------------------------      Use       sizes      Implicit  None      Integer   :: nmult      Integer*8 :: hash, linc      Integer*8 :: i, l! -------------------------------------------------------------------      !$omp parallel do      Do i = 1, nmult         l = Abs( Mod( i*linc, hash ) )      End Do! -------------------------------------------------------------------      End Subroutine correct

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?