- thread_id_t nextThread;
-
- ucontext_t *system_context;
- action_list_t *action_trace;
- HashTable<int, Thread *, int> *thread_map;
-
- /** Per-object list of actions. Maps an object (i.e., memory location)
- * to a trace of all actions performed on the object. */
- HashTable<const void *, action_list_t, uintptr_t, 4> *obj_map;
-
- HashTable<void *, std::vector<action_list_t>, uintptr_t, 4 > *obj_thrd_map;
- std::vector<Promise *> * promises;
- std::vector<ModelAction *> *thrd_last_action;
- NodeStack *node_stack;
- ModelAction *next_backtrack;
- CycleGraph * cyclegraph;
- bool failed_promise;
+ ModelAction *earliest_diverge;
+
+ ucontext_t system_context;
+
+ ModelVector<TraceAnalysis *> trace_analyses;
+
+ /** @brief The cumulative execution stats */
+ struct execution_stats stats;
+ void record_stats();
+ void run_trace_analyses();
+ void print_bugs() const;
+ void print_execution(bool printbugs) const;
+ void print_stats() const;
+
+ friend void user_main_wrapper();