SST/macro
|
#include <packet_flow_arbitrator.h>
Public Member Functions | |
virtual void | arbitrate (packet_stats_st &st)=0 |
Assign bandwidth to payload. More... | |
virtual std::string | to_string () const =0 |
virtual | ~packet_flow_bandwidth_arbitrator () |
virtual void | set_outgoing_bw (double out_bw) |
double | outgoing_bw () const |
virtual void | init_noise_model (noise_model *noise) |
virtual void | partition (noise_model *noise, int num_intervals) |
partition Partition the arbitrator time windows into a series of randomly sized chunks More... | |
virtual packet_flow_bandwidth_arbitrator * | clone (double bw) const =0 |
virtual int | bytes_sending (timestamp now) const =0 |
Public Member Functions inherited from sprockit::factory_type | |
virtual void | init_factory_params (sim_parameters *params) |
virtual void | finalize_init () |
Static Public Member Functions | |
static timestamp | credit_delay (double max_in_bw, double out_bw, long bytes) |
Protected Member Functions | |
packet_flow_bandwidth_arbitrator () | |
Protected Attributes | |
double | out_bw_ |
double | inv_out_bw_ |
Definition at line 14 of file packet_flow_arbitrator.h.
|
inlinevirtual |
Definition at line 29 of file packet_flow_arbitrator.h.
|
protected |
Referenced by credit_delay().
|
pure virtual |
Assign bandwidth to payload.
Implemented in sstmac::hw::packet_flow_cut_through_arbitrator, sstmac::hw::packet_flow_simple_arbitrator, and sstmac::hw::packet_flow_null_arbitrator.
|
pure virtual |
|
pure virtual |
Implemented in sstmac::hw::packet_flow_cut_through_arbitrator, sstmac::hw::packet_flow_simple_arbitrator, and sstmac::hw::packet_flow_null_arbitrator.
Referenced by credit_delay().
|
inlinestatic |
Definition at line 42 of file packet_flow_arbitrator.h.
References bytes_sending(), clone(), init_noise_model(), packet_flow_bandwidth_arbitrator(), and partition().
|
virtual |
Reimplemented in sstmac::hw::packet_flow_cut_through_arbitrator.
Referenced by credit_delay(), and sstmac::hw::packet_flow_cut_through_arbitrator::to_string().
|
inline |
Definition at line 37 of file packet_flow_arbitrator.h.
References out_bw_.
|
virtual |
partition Partition the arbitrator time windows into a series of randomly sized chunks
noise | The noise model that randomly selects time values |
num_intervals |
Reimplemented in sstmac::hw::packet_flow_cut_through_arbitrator.
Referenced by credit_delay(), and sstmac::hw::packet_flow_cut_through_arbitrator::to_string().
|
inlinevirtual |
Reimplemented in sstmac::hw::packet_flow_cut_through_arbitrator.
Definition at line 32 of file packet_flow_arbitrator.h.
References inv_out_bw_, and out_bw_.
Referenced by sstmac::hw::packet_flow_null_arbitrator::clone(), sstmac::hw::packet_flow_simple_arbitrator::clone(), and sstmac::hw::packet_flow_cut_through_arbitrator::clone().
|
pure virtual |
|
protected |
Definition at line 71 of file packet_flow_arbitrator.h.
Referenced by set_outgoing_bw().
|
protected |
Definition at line 70 of file packet_flow_arbitrator.h.
Referenced by outgoing_bw(), and set_outgoing_bw().