SST/macro
Public Member Functions | Protected Attributes | List of all members
sstmac::sw::lib_compute_inst Class Reference

#include <lib_compute_inst.h>

Inheritance diagram for sstmac::sw::lib_compute_inst:
Inheritance graph
Collaboration diagram for sstmac::sw::lib_compute_inst:
Collaboration graph

Public Member Functions

 lib_compute_inst (software_id id)
 
 lib_compute_inst (const std::string &libname, software_id id)
 
virtual ~lib_compute_inst ()
 
void compute_inst (compute_event *msg)
 
void compute_detailed (uint64_t flops, uint64_t nintops, uint64_t bytes)
 
void compute_loop (uint64_t nloops, uint32_t flops_per_loop, uint32_t intops_per_loop, uint32_t bytes_per_loop)
 
virtual void consume_params (sprockit::sim_parameters *params)
 
void incoming_event (event *ev)
 

Protected Attributes

double loop_overhead_
 

Detailed Description

Definition at line 27 of file lib_compute_inst.h.

Constructor & Destructor Documentation

sstmac::sw::lib_compute_inst::lib_compute_inst ( software_id  id)
sstmac::sw::lib_compute_inst::lib_compute_inst ( const std::string &  libname,
software_id  id 
)
virtual sstmac::sw::lib_compute_inst::~lib_compute_inst ( )
inlinevirtual

Definition at line 36 of file lib_compute_inst.h.

References compute_detailed(), compute_inst(), compute_loop(), and consume_params().

Here is the call graph for this function:

Member Function Documentation

void sstmac::sw::lib_compute_inst::compute_detailed ( uint64_t  flops,
uint64_t  nintops,
uint64_t  bytes 
)

Referenced by ~lib_compute_inst().

void sstmac::sw::lib_compute_inst::compute_inst ( compute_event msg)

Referenced by ~lib_compute_inst().

void sstmac::sw::lib_compute_inst::compute_loop ( uint64_t  nloops,
uint32_t  flops_per_loop,
uint32_t  intops_per_loop,
uint32_t  bytes_per_loop 
)

Referenced by ~lib_compute_inst().

virtual void sstmac::sw::lib_compute_inst::consume_params ( sprockit::sim_parameters *  params)
virtual
void sstmac::sw::lib_compute_inst::incoming_event ( event ev)
inline

Definition at line 56 of file lib_compute_inst.h.

References sstmac::sw::library::incoming_event().

Here is the call graph for this function:

Member Data Documentation

double sstmac::sw::lib_compute_inst::loop_overhead_
protected

Definition at line 61 of file lib_compute_inst.h.


The documentation for this class was generated from the following file: