skip_non_replicated.cc
Go to the documentation of this file.
4 
5 bool
7 {
8  if (w.scheduleID() == ScheduleID::first()) {
9  return false;
10  }
11  bool const is_replicated{w.description().moduleThreadingType() ==
12  ModuleThreadingType::replicated};
13  return !is_replicated;
14 }
bool skip_non_replicated(Worker const &)
ScheduleID scheduleID() const
Definition: Worker.h:75
ModuleDescription const & description() const
Definition: Worker.cc:118
ModuleThreadingType moduleThreadingType() const