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

#include <packet_flow_arbitrator.h>

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

Public Member Functions

 packet_flow_simple_arbitrator ()
 
virtual void arbitrate (packet_stats_st &st)
 Assign bandwidth to payload. More...
 
virtual packet_flow_bandwidth_arbitratorclone (double bw) const
 
std::string to_string () const
 
int bytes_sending (timestamp now) const
 
- Public Member Functions inherited from sstmac::hw::packet_flow_bandwidth_arbitrator
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...
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 
virtual void finalize_init ()
 

Protected Attributes

timestamp next_free_
 
- Protected Attributes inherited from sstmac::hw::packet_flow_bandwidth_arbitrator
double out_bw_
 
double inv_out_bw_
 

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 ()
 

Detailed Description

Definition at line 102 of file packet_flow_arbitrator.h.

Constructor & Destructor Documentation

sstmac::hw::packet_flow_simple_arbitrator::packet_flow_simple_arbitrator ( )

Member Function Documentation

virtual void sstmac::hw::packet_flow_simple_arbitrator::arbitrate ( packet_stats_st st)
virtual

Assign bandwidth to payload.

Returns
The time at which the packet can be forwarded to the next switch/node/etc.

Implements sstmac::hw::packet_flow_bandwidth_arbitrator.

int sstmac::hw::packet_flow_simple_arbitrator::bytes_sending ( timestamp  now) const
virtual
virtual packet_flow_bandwidth_arbitrator* sstmac::hw::packet_flow_simple_arbitrator::clone ( double  bw) const
inlinevirtual

Implements sstmac::hw::packet_flow_bandwidth_arbitrator.

Definition at line 112 of file packet_flow_arbitrator.h.

References sstmac::hw::packet_flow_bandwidth_arbitrator::set_outgoing_bw().

Here is the call graph for this function:

std::string sstmac::hw::packet_flow_simple_arbitrator::to_string ( ) const
inlinevirtual

Implements sstmac::hw::packet_flow_bandwidth_arbitrator.

Definition at line 119 of file packet_flow_arbitrator.h.

References sstmac::hw::packet_flow_bandwidth_arbitrator::bytes_sending().

Here is the call graph for this function:

Member Data Documentation

timestamp sstmac::hw::packet_flow_simple_arbitrator::next_free_
protected

Definition at line 127 of file packet_flow_arbitrator.h.


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