00001 #ifndef HEPHAESTUS_CHECKPOINTS_H 00002 #define HEPHAESTUS_CHECKPOINTS_H 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 typedef int CheckPointPos_t; 00009 00010 /* set a new check point, which will become current */ 00011 int hhh_setCheckPoint( void ); 00012 00013 /* consolidate the check point with the general memory tracking */ 00014 int hhh_clearCheckPoint( CheckPointPos_t ); 00015 00016 /* print out statistics for the given check point */ 00017 int hhh_check( CheckPointPos_t ); 00018 00019 #ifdef __cplusplus 00020 } /* extern "C" */ 00021 #endif 00022 00023 #endif /* !HEPHAESTUS_CHECKPOINTS_H */