Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -7,11 +7,12 @@ c For testing we just do nothing for 3 seconds
|
|||
|
||||
c Main Program
|
||||
program timing
|
||||
integer(kind=8) start,finish,rate,max
|
||||
call system_clock(start,rate,max)
|
||||
integer(kind=8) start,finish,rate
|
||||
call system_clock(count_rate=rate)
|
||||
call system_clock(start)
|
||||
c Here comes the function we want to time
|
||||
call do_something()
|
||||
call system_clock(finish,rate,max)
|
||||
write(6,*) 'Elapsed Time in seconds:',(finish-start)/rate
|
||||
call system_clock(finish)
|
||||
write(6,*) 'Elapsed Time in seconds:',float(finish-start)/rate
|
||||
return
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue