model/schedule: comput "reduadant" measurement, print along with traces
[model-checker.git] / schedule.h
index 0865310..c8555b6 100644 (file)
@@ -39,6 +39,7 @@ public:
        bool is_enabled(const Thread *t) const;
        bool is_enabled(thread_id_t tid) const;
        bool is_sleep_set(const Thread *t) const;
+       bool all_threads_sleeping() const;
        void set_scheduler_thread(thread_id_t tid);
 
        SNAPSHOTALLOC