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:
3102766
)
clockvector: fixup print message
author
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 02:36:06 +0000
(19:36 -0700)
committer
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 02:40:23 +0000
(19:40 -0700)
clockvector.cc
patch
|
blob
|
history
diff --git
a/clockvector.cc
b/clockvector.cc
index 69503aaf2a01f8df55c3f9626179cc3e39e12ba7..aaf492d896cab61c6b8395e375eebd6044f55ff5 100644
(file)
--- a/
clockvector.cc
+++ b/
clockvector.cc
@@
-63,6
+63,7
@@
bool ClockVector::happens_before(ModelAction *act, thread_id_t id)
void ClockVector::print()
{
int i;
+ printf("CV: (");
for (i = 0; i < num_threads; i++)
- printf("%
d%c", clock[i], (i == num_threads - 1) ? '\n' : ' '
);
+ printf("%
2d%s", clock[i], (i == num_threads - 1) ? ")\n" : ", "
);
}