SST/macro
lib_compute_memmove.h
Go to the documentation of this file.
1 /*
2  * This file is part of SST/macroscale:
3  * The macroscale architecture simulator from the SST suite.
4  * Copyright (c) 2009 Sandia Corporation.
5  * This software is distributed under the BSD License.
6  * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
7  * the U.S. Government retains certain rights in this software.
8  * For more information, see the LICENSE file in the top
9  * SST/macroscale directory.
10  */
11 
12 #ifndef SSTMAC_SOFTWARE_LIBRARIES_COMPUTE_LIB_COMPUTE_MEMMOVE_H_INCLUDED
13 #define SSTMAC_SOFTWARE_LIBRARIES_COMPUTE_LIB_COMPUTE_MEMMOVE_H_INCLUDED
14 
16 
17 namespace sstmac {
18 namespace sw {
19 
21  public lib_compute_inst
22 {
23 
24  public:
26 
27  virtual
29 
31 
32  lib_compute_memmove(const char* prefix, software_id id);
33 
34  virtual void
36 
37  void
38  consume_params(sprockit::sim_parameters* params);
39 
40  void
42  //forward to parent, which throws
44  }
45 
46  void
47  read(long bytes);
48 
49  void
50  write(long bytes);
51 
52  void
53  copy(long bytes);
54 
55  protected:
56  static const long unlimited_page_size = -1;
58 
59  void init();
60 
61  void
62  do_access(long bytes);
63 
64 
65  protected:
67 
68 };
69 
70 }
71 } //end of namespace sstmac
72 
73 #endif
74 
virtual void incoming_event(event *ev)=0
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
void consume_params(sprockit::sim_parameters *params)
A wrapper for an appid, taskid pair.
Definition: software_id.h:28
lib_compute_memmove(software_id id)