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

#include <instruction_processor.h>

Inheritance diagram for sstmac::hw::instruction_processor:
Inheritance graph
Collaboration diagram for sstmac::hw::instruction_processor:
Collaboration graph

Public Member Functions

 instruction_processor (memory_model *mem, node *nd)
 
virtual std::string to_string () const
 
virtual ~instruction_processor ()
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
virtual void finalize_init ()
 
virtual void compute (event *ev, callback *cb)
 
- Public Member Functions inherited from sstmac::hw::simple_processor
 simple_processor (memory_model *mem, node *nd)
 
virtual ~simple_processor ()
 Goodbye. More...
 
void compute (event *ev, callback *cb)
 
- Public Member Functions inherited from sstmac::hw::processor
virtual ~processor ()
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 

Protected Member Functions

void set_memop_distribution (double stdev)
 
void set_flop_distribution (double stdev)
 
double instruction_time (sw::basic_compute_event *msg)
 
- Protected Member Functions inherited from sstmac::hw::processor
 processor (memory_model *mem, node *nd)
 

Protected Attributes

double tflop_
 
double tintop_
 
double tmemseq_
 
double tmemrnd_
 
double max_single_mem_bw_
 
double negligible_bytes_
 
double parallelism_
 
noise_modelnoise_model_
 
- Protected Attributes inherited from sstmac::hw::processor
double freq_
 
double mem_freq_
 
memory_modelmem_
 
nodenode_
 

Additional Inherited Members

- Static Public Member Functions inherited from sstmac::hw::processor
static void delete_statics ()
 

Detailed Description

Definition at line 24 of file instruction_processor.h.

Constructor & Destructor Documentation

sstmac::hw::instruction_processor::instruction_processor ( memory_model mem,
node nd 
)
inline

Definition at line 28 of file instruction_processor.h.

virtual sstmac::hw::instruction_processor::~instruction_processor ( )
virtual

Referenced by to_string().

Member Function Documentation

virtual void sstmac::hw::instruction_processor::compute ( event ev,
callback cb 
)
virtual

Implements sstmac::hw::processor.

Referenced by to_string().

virtual void sstmac::hw::instruction_processor::finalize_init ( )
virtual

Reimplemented from sstmac::hw::simple_processor.

Referenced by to_string().

virtual void sstmac::hw::instruction_processor::init_factory_params ( sprockit::sim_parameters *  params)
virtual

Reimplemented from sstmac::hw::processor.

Referenced by to_string().

double sstmac::hw::instruction_processor::instruction_time ( sw::basic_compute_event msg)
protected

Referenced by to_string().

void sstmac::hw::instruction_processor::set_flop_distribution ( double  stdev)
protected

Referenced by to_string().

void sstmac::hw::instruction_processor::set_memop_distribution ( double  stdev)
protected

Referenced by to_string().

virtual std::string sstmac::hw::instruction_processor::to_string ( ) const
inlinevirtual

Member Data Documentation

double sstmac::hw::instruction_processor::max_single_mem_bw_
protected

Definition at line 66 of file instruction_processor.h.

double sstmac::hw::instruction_processor::negligible_bytes_
protected

Definition at line 68 of file instruction_processor.h.

noise_model* sstmac::hw::instruction_processor::noise_model_
protected

Definition at line 72 of file instruction_processor.h.

double sstmac::hw::instruction_processor::parallelism_
protected

Definition at line 70 of file instruction_processor.h.

double sstmac::hw::instruction_processor::tflop_
protected

Definition at line 61 of file instruction_processor.h.

double sstmac::hw::instruction_processor::tintop_
protected

Definition at line 62 of file instruction_processor.h.

double sstmac::hw::instruction_processor::tmemrnd_
protected

Definition at line 64 of file instruction_processor.h.

double sstmac::hw::instruction_processor::tmemseq_
protected

Definition at line 63 of file instruction_processor.h.


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