WSJT-X/sec_midn.F90
Joe Taylor 53881351a8 Added "getdphi" to do least-squares solution for Dphi.
Updated Makefile.in
Commented out Linux calls to usleep in sleep_msec, makes it hang.
Removed duplicate code from plrr.f90.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@498 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2007-07-12 14:25:08 +00:00

30 lines
372 B
Fortran

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
!m=min(1,n)
! call usleep(m)
#endif
return
end subroutine sleep_msec