diff --git a/mps/qa/function/91.c b/mps/qa/function/91.c new file mode 100644 index 00000000000..04f16af9aa6 --- /dev/null +++ b/mps/qa/function/91.c @@ -0,0 +1,88 @@ +/* TEST_HEADER + summary = EPVM time allocations + language = c + link = testlib.o epvmfmt.o +END_HEADER +*/ + +#include "testlib.h" +#include "mpscepvm.h" +#include "mpsavm.h" +#include "epvmfmt.h" +#include + +#define MAX_SAVE 1 +#define INIT_SAVE 0 + +void *stackpointer; + +static void timealloc(mps_pool_t pool, mps_ap_t ap, size_t size, int num, int step) { + int i, j; + clock_t t0, t1; + int secs; + psobj *a; + + mps_epvm_save(pool); + t0 = clock(); + for (j=0; j