1 #ifndef PACKET_FLOW_PACKETIZER_H 2 #define PACKET_FLOW_PACKETIZER_H 22 virtual void recv_credit(packet_flow_credit* ev) = 0;
24 virtual void recv_packet(packet_flow_payload* ev) = 0;
64 set_output(
int port,
connectable* output,
int credits);
85 recv_packet_common(packet_flow_payload* pkt);
124 #endif // PACKET_FLOW_PACKETIZER_H virtual void recv_packet(packet_flow_payload *ev)=0
A class describing an event.
double injection_bandwidth() const
virtual void set_event_parent(event_scheduler *m)
Set the eventmanager for this scheduler.
The packet_allocator class Factory for creating packets.
packet_sent_stats * buf_stats_
recv_cq completion_queue_
void setNotify(packetizer_callback *handler)
std::string printf(const char *fmt,...)
packet_allocator * pkt_allocator_
virtual void finalize_init()
virtual bool spaceToSend(int vn, int num_bits) const =0
The main interface for something that can respond to an event (sst_message).
virtual void recv_credit(packet_flow_credit *ev)=0
packet_flow_injection_buffer * inj_buffer_
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual void init_factory_params(sprockit::sim_parameters *params)
packet_sent_stats * stat_collector_
virtual void inject(int vn, long bytes, long byte_offset, message *payload)=0
packet_flow_eject_buffer * ej_buffer_
The interface for something that can schedule messages.
std::string to_string() const