mirror of
https://github.com/pfloos/quack
synced 2025-01-03 10:05:49 +01:00
modif in utils
This commit is contained in:
parent
7598446ed8
commit
535b6e2aa2
@ -531,3 +531,16 @@ subroutine CalcInv4(a,det)
|
|||||||
enddo
|
enddo
|
||||||
|
|
||||||
end subroutine CalcInv4
|
end subroutine CalcInv4
|
||||||
|
|
||||||
|
subroutine wall_time(t)
|
||||||
|
implicit none
|
||||||
|
double precision, intent(out) :: t
|
||||||
|
integer*8 :: c
|
||||||
|
integer*8, save :: rate = 0
|
||||||
|
if (rate == 0) then
|
||||||
|
CALL SYSTEM_CLOCK(count_rate=rate)
|
||||||
|
endif
|
||||||
|
CALL SYSTEM_CLOCK(count=c)
|
||||||
|
t = dble(c)/dble(rate)
|
||||||
|
end subroutine wall_time
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user