48#ifndef __MEM_RUBY_NETWORK_SIMPLE_PERFECTSWITCH_HH__
49#define __MEM_RUBY_NETWORK_SIMPLE_PERFECTSWITCH_HH__
81 const NetDest& routing_table_entry,
94 void print(std::ostream& out)
const;
void addOutPort(const std::vector< MessageBuffer * > &out, const NetDest &routing_table_entry, const PortDirection &dst_inport, Tick routing_latency, int link_weight)
std::vector< std::vector< MessageBuffer * > > m_in_prio
std::vector< std::vector< MessageBuffer * > > m_in
void storeEventInfo(int info)
std::vector< int > m_pending_message_count
const SwitchID m_switch_id
std::vector< OutputPort > m_out
PerfectSwitch & operator=(const PerfectSwitch &obj)
void operateVnet(int vnet)
std::vector< std::vector< std::vector< MessageBuffer * > > > m_in_prio_groups
uint32_t m_virtual_networks
SimpleNetwork * m_network_ptr
PerfectSwitch(SwitchID sid, Switch *, uint32_t)
void print(std::ostream &out) const
MessageBuffer * inBuffer(int in_port, int vnet) const
PerfectSwitch(const PerfectSwitch &obj)
void updatePriorityGroups(int vnet, MessageBuffer *buf)
void addInPort(const std::vector< MessageBuffer * > &in)
void operateMessageBuffer(MessageBuffer *b, int vnet)
std::string PortDirection
std::ostream & operator<<(std::ostream &os, const BoolVec &myvector)
const FlagsType init
This Stat is Initialized.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.
std::string csprintf(const char *format, const Args &...args)
std::vector< MessageBuffer * > buffers