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 /pkg/bench/subproc.cl | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/bench/subproc.cl')
-rw-r--r-- | pkg/bench/subproc.cl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/bench/subproc.cl b/pkg/bench/subproc.cl new file mode 100644 index 00000000..d1371484 --- /dev/null +++ b/pkg/bench/subproc.cl @@ -0,0 +1,18 @@ +# SUBPROC -- Benchmark the process control facilities. + +procedure subproc (nreps) + +int nreps { prompt = "number of repetitions" } +int i + +begin + time; print ("======= begin ========") + + for (i=nreps; i > 0; i-=1) { + prcache ("imheader") + flprcache ("imheader") + time() + } + + print ("======= end ========"); time +end |