SST/macro
|
#include <packet_flow_arbitrator.h>
Classes | |
struct | bandwidth_epoch |
Public Member Functions | |
packet_flow_cut_through_arbitrator () | |
~packet_flow_cut_through_arbitrator () | |
virtual void | arbitrate (packet_stats_st &st) |
Assign bandwidth to payload. More... | |
virtual void | set_outgoing_bw (bw_t bw) |
int | bytes_sending (timestamp now) const |
packet_flow_bandwidth_arbitrator * | clone (double bw) const |
std::string | to_string () const |
void | partition (noise_model *model, int num_intervals) |
partition Partition the arbitrator time windows into a series of randomly sized chunks More... | |
void | init_noise_model (noise_model *noise) |
Public Member Functions inherited from sstmac::hw::packet_flow_bandwidth_arbitrator | |
virtual | ~packet_flow_bandwidth_arbitrator () |
double | outgoing_bw () const |
Public Member Functions inherited from sprockit::factory_type | |
virtual void | init_factory_params (sim_parameters *params) |
virtual void | finalize_init () |
Private Types | |
typedef uint64_t | ticks_t |
typedef double | bw_t |
Private Member Functions | |
void | clean_up (ticks_t now) |
void | do_arbitrate (packet_stats_st &st) |
Private Attributes | |
bandwidth_epoch * | head_ |
double | bw_tick_to_sec_conversion_ |
Convert from bytes/sec to bytes/tick. More... | |
double | bw_sec_to_tick_conversion_ |
Additional Inherited Members | |
Static Public Member Functions inherited from sstmac::hw::packet_flow_bandwidth_arbitrator | |
static timestamp | credit_delay (double max_in_bw, double out_bw, long bytes) |
Protected Member Functions inherited from sstmac::hw::packet_flow_bandwidth_arbitrator | |
packet_flow_bandwidth_arbitrator () | |
Protected Attributes inherited from sstmac::hw::packet_flow_bandwidth_arbitrator | |
double | out_bw_ |
double | inv_out_bw_ |
Definition at line 131 of file packet_flow_arbitrator.h.
|
private |
Definition at line 135 of file packet_flow_arbitrator.h.
|
private |
Definition at line 134 of file packet_flow_arbitrator.h.
sstmac::hw::packet_flow_cut_through_arbitrator::packet_flow_cut_through_arbitrator | ( | ) |
sstmac::hw::packet_flow_cut_through_arbitrator::~packet_flow_cut_through_arbitrator | ( | ) |
|
virtual |
Assign bandwidth to payload.
Implements sstmac::hw::packet_flow_bandwidth_arbitrator.
|
virtual |
Implements sstmac::hw::packet_flow_bandwidth_arbitrator.
|
private |
|
inlinevirtual |
Implements sstmac::hw::packet_flow_bandwidth_arbitrator.
Definition at line 152 of file packet_flow_arbitrator.h.
References sstmac::hw::packet_flow_bandwidth_arbitrator::set_outgoing_bw().
|
private |
|
virtual |
Reimplemented from sstmac::hw::packet_flow_bandwidth_arbitrator.
|
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 from sstmac::hw::packet_flow_bandwidth_arbitrator.
|
virtual |
Reimplemented from sstmac::hw::packet_flow_bandwidth_arbitrator.
|
inlinevirtual |
Implements sstmac::hw::packet_flow_bandwidth_arbitrator.
Definition at line 160 of file packet_flow_arbitrator.h.
References sstmac::hw::packet_flow_bandwidth_arbitrator::init_noise_model(), and sstmac::hw::packet_flow_bandwidth_arbitrator::partition().
|
private |
Definition at line 199 of file packet_flow_arbitrator.h.
|
private |
Convert from bytes/sec to bytes/tick.
Definition at line 198 of file packet_flow_arbitrator.h.
|
private |
Definition at line 195 of file packet_flow_arbitrator.h.