SST/macro
sumi_thread.h
Go to the documentation of this file.
1 #ifndef SUMI_THREAD_H
2 #define SUMI_THREAD_H
3 
5 
6 namespace sstmac {
7 
8 class sumi_thread :
9  public sstmac::sw::thread
10 {
11  private:
12  static uint64_t num_threads_;
13 
15 
16  virtual void run() = 0;
17 
18  public:
20 
21  virtual ~sumi_thread(){}
22 
23  void start();
24 
25  void compute(double sec);
26 };
27 
28 }
29 
30 #endif // SUMI_THREAD_H
sumi_thread(sw::software_id sid)
static uint64_t num_threads_
Definition: sumi_thread.h:12
void compute(double sec)
virtual ~sumi_thread()
Definition: sumi_thread.h:21
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
sstmac::sw::lib_compute_time * compute_
Definition: sumi_thread.h:14
virtual void run()=0
Derived types need to override this method.
A wrapper for an appid, taskid pair.
Definition: software_id.h:28