Benchmarking

version 1/130803 by Dannii Willis

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - I6 essentials

    Include (-

    [ check_float_gestalt temp;
        @gestalt 11 0 temp;
        return temp;
    ];

    ! Arrays for use with glk_current_time() (not that we actually use that function)
    Array current_time --> 3;
    Array current_time2 --> 3;

    -).

    [ We can't run the tests if our terp is too old. ]
    To decide whether the interpreter can run the benchmark framework:
        (- (check_float_gestalt() && glk_gestalt(20, 0)) -).