home *** CD-ROM | disk | FTP | other *** search
- \ Copyright 1989 NerveWare
- \ No portion of this code may used for commercial purposes,
- \ nor may any executable version of this code be disributed for
- \ commercial purposes without the author's express written permission.
- \ This code is shareware, all rights reserved.
-
- \ Nick Didkovsky
- \ measure the time it takes to generate one Mandelbrot screen
- \ MOD: not compiling istime cell+ as literal, so this can clone 2/21/89
-
- include? loadtime ju:measure
-
- anew task-mandelmeasure
-
- : SET.MANDEL.START.TIME ( -- )
- wastime loadtime
- ;
-
- : SET.MANDEL.FINISH.TIME ( -- double-time1 double-time2)
- istime loadtime
- wastime cell+ d@
- istime cell+ d@
- ;
-
- : MANDEL.RESULTS
- >newline ." This region was calculated in " .timediff
- ;
-
- : REPORT.MANDEL.TIME
- set.mandel.finish.time
- >ticks >secs
- mandel.results
- ;
-
-
-