SST/macro
lib_compute_time.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_TIME_H_INCLUDED
13 #define SSTMAC_SOFTWARE_LIBRARIES_COMPUTE_LIB_COMPUTE_TIME_H_INCLUDED
14 
18 
19 namespace sstmac {
20 namespace sw {
21 
23  public lib_compute
24 {
25  public:
27 
28  lib_compute_time(const char* prefix, software_id id);
29 
30  lib_compute_time(const std::string& name, software_id id);
31 
32  virtual
34 
35  void
38  }
39 
40  void
41  compute(timestamp time);
42 
43 };
44 
45 }
46 } //end of namespace sstmac
47 
48 #endif
49 
lib_compute_time(software_id id)
void compute(timestamp time)
virtual void incoming_event(event *ev)=0
A basic container for time (subject to future transplant).
Definition: timestamp.h:29
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
A wrapper for an appid, taskid pair.
Definition: software_id.h:28