diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /sys/etc/clktime.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/etc/clktime.x')
-rw-r--r-- | sys/etc/clktime.x | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/etc/clktime.x b/sys/etc/clktime.x new file mode 100644 index 00000000..84155919 --- /dev/null +++ b/sys/etc/clktime.x @@ -0,0 +1,16 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +# CLKTIME -- Get the current clock time (local standard time) in units +# of seconds since 00:00:00 01-Jan-80. This can be broken down into days, +# hours, seconds, etc. with BRKTIME, or printed as a date/time string with +# CNVTIME. + +long procedure clktime (old_time) + +long old_time, new_time +long cpu_time + +begin + call zgtime (new_time, cpu_time) + return (new_time - old_time) +end |