diff options
-rw-r--r-- | src/systemc/core/scheduler.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemc/core/scheduler.cc b/src/systemc/core/scheduler.cc index d5081c667..eda4ed7e4 100644 --- a/src/systemc/core/scheduler.cc +++ b/src/systemc/core/scheduler.cc @@ -190,7 +190,9 @@ void Scheduler::ready(Process *p) { // Clump methods together to minimize context switching. - if (p->procKind() == ::sc_core::SC_METHOD_PROC_) + static bool cluster_methods = false; + + if (cluster_methods && p->procKind() == ::sc_core::SC_METHOD_PROC_) readyList.pushFirst(p); else readyList.pushLast(p); |