X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=snapshot-interface.h;h=c0db0d0c0990595beaea3f1af70933a0f97779a8;hb=d2cbbe4ce6d8f6e1aa23b8fe639ed58edf1789b7;hp=7e501fea4214292244273ebb806a3472591a8e09;hpb=f7e343245eacef390a0d52ba4f7dac361eb11a51;p=model-checker.git diff --git a/snapshot-interface.h b/snapshot-interface.h index 7e501fe..c0db0d0 100644 --- a/snapshot-interface.h +++ b/snapshot-interface.h @@ -1,3 +1,8 @@ +/** @file snapshot-interface.h + * @brief C++ layer on top of snapshotting system. + */ + + #ifndef __SNAPINTERFACE_H #define __SNAPINTERFACE_H #include "mymemory.h" @@ -5,12 +10,9 @@ typedef unsigned int snapshot_id; typedef void (*VoidFuncPtr)(); -void initSnapShotLibrary(unsigned int numbackingpages, +void initSnapshotLibrary(unsigned int numbackingpages, unsigned int numsnapshots, unsigned int nummemoryregions, unsigned int numheappages, VoidFuncPtr entryPoint); -void finalize(); - -void SnapshotGlobalSegments(); struct stackEntry { struct stackEntry *next; @@ -26,7 +28,7 @@ class SnapshotStack { int backTrackBeforeStep(int seq_index); void snapshotStep(int seq_index); - private: + private: struct stackEntry * stack; };