Skip to content

Commit

Permalink
Use only the timer type from the ForTime module.
Browse files Browse the repository at this point in the history
Signed-off-by: Seyed Ali Ghasemi <info@gha3mi.com>
  • Loading branch information
gha3mi committed May 4, 2024
1 parent 7dd306d commit 328c248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/fordebug.f90
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module fordebug

use iso_fortran_env, only: int32, int64, real32, real64
use fortime, only: timer, timer_start, timer_stop
use fortime, only: timer

implicit none

Expand Down
4 changes: 2 additions & 2 deletions src/fordebug_smod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ subroutine impure_timer_start(t)
implicit none
type(timer), intent(out) :: t

call timer_start(t)
call t%timer_start()
end subroutine impure_timer_start
!===============================================================================

Expand All @@ -762,6 +762,6 @@ subroutine impure_timer_stop(t, message)
type(timer), intent(out) :: t
character(*), intent(in), optional :: message

call timer_stop(t, message=message)
call t%timer_stop(message=message)
end subroutine impure_timer_stop
!===============================================================================

0 comments on commit 328c248

Please sign in to comment.