/* memory functions */
-extern int ao_scheme_collects[2];
-extern int ao_scheme_freed[2];
-extern int ao_scheme_loops[2];
+extern uint64_t ao_scheme_collects[2];
+extern uint64_t ao_scheme_freed[2];
+extern uint64_t ao_scheme_loops[2];
/* returns 1 if the object was already marked */
int
}
#if DBG_MEM_STATS
-int ao_scheme_collects[2];
-int ao_scheme_freed[2];
-int ao_scheme_loops[2];
+uint64_t ao_scheme_collects[2];
+uint64_t ao_scheme_freed[2];
+uint64_t ao_scheme_loops[2];
#endif
int ao_scheme_last_top;
}
ao_scheme_read_eval_print();
- printf ("collects: full: %d incremental %d\n",
+ printf ("collects: full: %lu incremental %lu\n",
ao_scheme_collects[AO_SCHEME_COLLECT_FULL],
ao_scheme_collects[AO_SCHEME_COLLECT_INCREMENTAL]);
- printf ("freed: full %d incremental %d\n",
+ printf ("freed: full %lu incremental %lu\n",
ao_scheme_freed[AO_SCHEME_COLLECT_FULL],
ao_scheme_freed[AO_SCHEME_COLLECT_INCREMENTAL]);
- printf("loops: full %d incremental %d\n",
+ printf("loops: full %lu incremental %lu\n",
ao_scheme_loops[AO_SCHEME_COLLECT_FULL],
ao_scheme_loops[AO_SCHEME_COLLECT_INCREMENTAL]);