📄 correct.f
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -