projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
print stats only at end of execution
[model-checker.git]
/
action.cc
diff --git
a/action.cc
b/action.cc
index 1387ed15b67c9ac25d7fcba68491bbb72d8ff236..486e89ee54aaddc8ea302c64b3a1eccef786a28c 100644
(file)
--- a/
action.cc
+++ b/
action.cc
@@
-468,22
+468,22
@@
void ModelAction::print() const
break;
}
break;
}
-
printf
("(%4d) Thread: %-2d Action: %-13s MO: %7s Loc: %14p Value: %-#18" PRIx64,
+
model_print
("(%4d) Thread: %-2d Action: %-13s MO: %7s Loc: %14p Value: %-#18" PRIx64,
seq_number, id_to_int(tid), type_str, mo_str, location, valuetoprint);
if (is_read()) {
if (reads_from)
seq_number, id_to_int(tid), type_str, mo_str, location, valuetoprint);
if (is_read()) {
if (reads_from)
-
printf
(" Rf: %-3d", reads_from->get_seq_number());
+
model_print
(" Rf: %-3d", reads_from->get_seq_number());
else
else
-
printf
(" Rf: ? ");
+
model_print
(" Rf: ? ");
}
if (cv) {
if (is_read())
}
if (cv) {
if (is_read())
-
printf
(" ");
+
model_print
(" ");
else
else
-
printf
(" ");
+
model_print
(" ");
cv->print();
} else
cv->print();
} else
-
printf
("\n");
+
model_print
("\n");
}
/** @brief Print nicely-formatted info about this ModelAction */
}
/** @brief Print nicely-formatted info about this ModelAction */