mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Forgot to add this file.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@459 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e2dc4283de
commit
311eb48714
28
sec_midn.F90
Normal file
28
sec_midn.F90
Normal file
@ -0,0 +1,28 @@
|
||||
real function sec_midn()
|
||||
|
||||
real*8 sec8,hrtime
|
||||
|
||||
#ifdef Win32
|
||||
sec_midn=secnds(0.0)
|
||||
#else
|
||||
sec8=hrtime()
|
||||
sec_midn=mod(sec8,86400.d0)
|
||||
#endif
|
||||
|
||||
return
|
||||
end function sec_midn
|
||||
|
||||
subroutine sleep_msec(n)
|
||||
|
||||
#ifdef Win32
|
||||
use dflib
|
||||
#endif
|
||||
|
||||
#ifdef Win32
|
||||
call sleepqq(n)
|
||||
#else
|
||||
call usleep(min(1,1000*n))
|
||||
#endif
|
||||
|
||||
return
|
||||
end subroutine sleep_msec
|
Loading…
Reference in New Issue
Block a user