action: don't print clock vector when it is invalid
[model-checker.git] / action.h
index fecef4dbf3043ac920d5fb09efef85ffb8d6e863..2bf01dce092b71d1a0fa37bc82a29802036e9d1c 100644 (file)
--- a/action.h
+++ b/action.h
@@ -64,7 +64,7 @@ class ModelAction {
 public:
        ModelAction(action_type_t type, memory_order order, void *loc, uint64_t value = VALUE_NONE);
        ~ModelAction();
-       void print(void) const;
+       void print(bool print_cv = true) const;
 
        thread_id_t get_tid() const { return tid; }
        action_type get_type() const { return type; }