measure.h 544 B

123456789101112131415161718192021222324
  1. /*
  2. * Part of Scheme 48 1.9. See file COPYING for notices and license.
  3. *
  4. * Authors: David Frese
  5. */
  6. #ifndef __S48_GC_MEASURE
  7. #define __S48_GC_MEASURE
  8. #if (MEASURE_GC)
  9. /* called in area_roots.c */
  10. extern void measure_write_barrier(char flag);
  11. extern void measure_areas_roots(unsigned long visited, unsigned long passed);
  12. extern void measure_gc_write_barrier();
  13. /* called in generation_gc.c - so these are only forward declarations */
  14. extern void measure_before_collection(int c);
  15. extern void measure_after_collect(int c);
  16. #endif
  17. #endif