SST/macro
null_memory_model.h
Go to the documentation of this file.
1 #ifndef sstmac_hardware_memory_NULL_MEMORYMODEL_H
2 #define sstmac_hardware_memory_NULL_MEMORYMODEL_H
3 
5 
6 namespace sstmac {
7 namespace hw {
8 
10  public memory_model
11 {
12  public:
14  memory_model(nd)
15  {
16  }
17 
18  virtual ~null_memory_model();
19 
20  virtual void
21  init_factory_params(sprockit::sim_parameters* params);
22 
23  virtual void
24  access(long bytes, double max_bw, callback* cb);
25 
26  double
27  max_single_bw() const {
28  return 1e15; // Just return a ridiculous number like 1 PB/s
29  }
30 
31 };
32 
33 }
34 } /* namespace sstmac */
35 
36 #endif // NULL_MEMORYMODEL_H
37 
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual void init_factory_params(sprockit::sim_parameters *params)
virtual void access(long bytes, double max_bw, callback *cb)