projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c05d5f9
)
clockvector: add snapshotting new/delete operators
author
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 01:44:23 +0000
(18:44 -0700)
committer
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 01:44:23 +0000
(18:44 -0700)
clockvector.h
patch
|
blob
|
history
diff --git
a/clockvector.h
b/clockvector.h
index 615dfeb7e83196dff11213ed589ceaaadc7b2196..c4aabeb162829cf4883c1c546e2df0651fbfe5eb 100644
(file)
--- a/
clockvector.h
+++ b/
clockvector.h
@@
-2,6
+2,7
@@
#define __CLOCKVECTOR_H__
#include "threads.h"
+#include "mymemory.h"
/* Forward declaration */
class ModelAction;
@@
-12,6
+13,8
@@
public:
~ClockVector();
void merge(ClockVector *cv);
bool happens_before(ModelAction *act, thread_id_t id);
+
+ MEMALLOC
private:
int *clock;
int num_threads;