model: add "# redundant" stat
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index bbad36e40ae727a93fe0e8e927aeb0ebe4b91da5..15516e267cfbb9b7c8947ed8d550926e59de8a98 100644 (file)
--- a/model.h
+++ b/model.h
@@ -58,6 +58,7 @@ struct execution_stats {
        int num_infeasible; /**< @brief Number of infeasible executions */
        int num_buggy_executions; /** @brief Number of buggy executions */
        int num_complete; /**< @brief Number of feasible, non-buggy, complete executions */
+       int num_redundant; /**< @brief Number of redundant, aborted executions */
 };
 
 struct PendingFutureValue {
@@ -87,8 +88,7 @@ public:
        /** @returns the context for the main model-checking system thread */
        ucontext_t * get_system_context() { return &system_context; }
 
-       /** Prints an execution summary with trace information. */
-       void print_summary();
+       void print_summary() const;
 #if SUPPORT_MOD_ORDER_DUMP
        void dumpGraph(char *filename);
 #endif
@@ -253,6 +253,7 @@ private:
 
        bool have_bug_reports() const;
        void print_bugs() const;
+       void print_execution(bool printbugs) const;
 };
 
 extern ModelChecker *model;