SST/macro
null_scheduler.h
Go to the documentation of this file.
1 #ifndef NULLscheduleR_H
2 #define NULLscheduleR_H
3 
4 #include <sstmac/hardware/processor/compute_scheduler.h>
5 
6 namespace sstmac {
7 namespace hw {
8 
10  public compute_scheduler
11 {
12  public:
13  std::string
14  to_string() const {
15  return "null scheduler";
16  }
17 
18  virtual compute_scheduler*
19  clone(node_id nid, sw::operating_system* os) const;
20 
21  void
22  handle(sst_message* msg) {}
23 
24  protected:
25  bool
26  find_open_core(const sw::compute_message*&msg, int &core_assignment);
27 
28  void
29  start_next_suspended(int core);
30 
31  void
32  add_suspended(const sw::compute_message*&msg, int core);
33 
34 };
35 
36 
37 }
38 }
39 
40 #endif // NULLscheduleR_H
41 
bool find_open_core(const sw::compute_message *&msg, int &core_assignment)
virtual compute_scheduler * clone(node_id nid, sw::operating_system *os) const
void handle(sst_message *msg)
void start_next_suspended(int core)
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
void add_suspended(const sw::compute_message *&msg, int core)
endpoint_id node_id
Definition: node_address.h:20
std::string to_string() const