Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gha3mi committed Dec 30, 2023
1 parent f4b7214 commit 48b6ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/example2.f90
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ program example2
do nl = 1, nloops
call sleep(1) ! Perform operations ntimes
end do
call t%timer_stop(nloops = n, message = 'Elapsed time:') ! nloops and message are optional.
call t%timer_stop(nloops = nloops, message = 'Elapsed time:') ! nloops and message are optional.
call t%timer_write('example/example2_etimes') ! Optionally, write the elapsed time to a file

end program example2
2 changes: 1 addition & 1 deletion example/example4.f90
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ program example4
do nl = 1, nloops
call sleep(1) ! Perform operations ntimes
end do
call t%ctimer_stop(nloops = n, message = 'CPU time:') ! nloops and message are optional
call t%ctimer_stop(nloops = nloops, message = 'CPU time:') ! nloops and message are optional
call t%ctimer_write('example/example4_ctimes') ! Optionally, write the elapsed time to a file

end program example4

0 comments on commit 48b6ad0

Please sign in to comment.