|
SST/macro
|
The packet_allocator class Factory for creating packets. More...
#include <packet_allocator.h>


Public Member Functions | |
| virtual packet_flow_payload * | new_packet (int bytes, long byte_offset, message *msg)=0 |
| new_packet Allocates a new packet corresponding to a subset of a flow (message) More... | |
| virtual | ~packet_allocator () |
Public Member Functions inherited from sprockit::factory_type | |
| virtual void | init_factory_params (sim_parameters *params) |
| virtual void | finalize_init () |
The packet_allocator class Factory for creating packets.
Default packet allocator adds the bare minimum needed for congestion modeling. Non-default packet allocators can add extra fields to the packets to track more statistics.
Definition at line 17 of file packet_allocator.h.
|
inlinevirtual |
Definition at line 31 of file packet_allocator.h.
References sstmac::hw::DeclareFactory().

|
pure virtual |
new_packet Allocates a new packet corresponding to a subset of a flow (message)
| bytes | Number of bytes in the packet |
| byte_offset | The offset within the message (flow) the packet begins at |
| msg | The message being packetized |
1.8.11