projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add mutex files
[model-checker.git]
/
snapshot-interface.h
diff --git
a/snapshot-interface.h
b/snapshot-interface.h
index e9746e1ebb35468ff20e0ea68fd9ee364a0e7cd6..9912a1b78f2beba07c08b624b483c71492fd9e3a 100644
(file)
--- 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"
#ifndef __SNAPINTERFACE_H
#define __SNAPINTERFACE_H
#include "mymemory.h"
@@
-9,8
+14,6
@@
void initSnapShotLibrary(unsigned int numbackingpages,
unsigned int numsnapshots, unsigned int nummemoryregions,
unsigned int numheappages, VoidFuncPtr entryPoint);
unsigned int numsnapshots, unsigned int nummemoryregions,
unsigned int numheappages, VoidFuncPtr entryPoint);
-void SnapshotGlobalSegments();
-
struct stackEntry {
struct stackEntry *next;
snapshot_id snapshotid;
struct stackEntry {
struct stackEntry *next;
snapshot_id snapshotid;
@@
-25,7
+28,7
@@
class SnapshotStack {
int backTrackBeforeStep(int seq_index);
void snapshotStep(int seq_index);
int backTrackBeforeStep(int seq_index);
void snapshotStep(int seq_index);
- private:
+ private:
struct stackEntry * stack;
};
struct stackEntry * stack;
};