SEC:EDSim. More...
#include <SS_router.h>
Data Structures | |
struct | iLCB_t |
struct | inQ_t |
struct | netlink |
struct | oLCB_t |
struct | outQ_t |
Public Member Functions | |
void | updateToken_flits (int dir, int vc, int flits) |
void | returnToken_flits (int dir, int vc, int flits) |
SS_router (ComponentId_t id, Params_t ¶ms) | |
Protected Types | |
typedef map< pair< int, int > , pair< int, int > > | routingTable_t |
typedef netlink * | link_t |
typedef deque< rtrP * > | packetQ |
Protected Member Functions | |
void | handleParcel (Event *, int dir) |
bool | route (rtrP *) |
void | InLCB (RtrEvent *e, int ilink, int ivc, int flits) |
bool | LCBtoInQ_start (rtrP *rp) |
void | LCBtoInQ_readyNext (rtrP *rp) |
void | LCBtoInQ_done (rtrP *rp, int ivc, int ilink) |
void | InQtoOutQ_start (rtrP *rp) |
void | InQtoOutQ_readyNext (rtrP *rp) |
void | InQtoOutQ_done (rtrP *rp, int ovc, int ilink, int olink) |
void | OutQtoLCB_start (rtrP *rp) |
void | OutQtoLCB_readyNext (rtrP *rp, int olink, int ilink, int ovc, int flits) |
void | OutQtoLCB_done (rtrP *rp) |
void | LCBxfer_start (int dir) |
void | LCBxfer_readyNext (int dir) |
void | LCBxfer_done (rtrP *rp, int olink, int flits) |
void | arbitrateOutToLCB () |
void | arbitrateInToOut () |
void | iLCBtoIn () |
void | setup () |
void | dumpStats (FILE *fp) |
int | Finish () |
Called after simulation completes, but before objects are destroyed. | |
void | setupRoutingTable (Params_t, int nodes, int xDim, int yDim, int zDim) |
void | setVCRoutes (int node, int dir, bool *crossDateline) |
void | advanceEventQ () |
void | DebugEvent () |
Protected Attributes | |
vector< rtrEvent_t * > | rtrEventQ |
rtrEventPool | eventPool |
rtrPPool | rpPool |
int | routerID |
int | iLCBLat |
int | oLCBLat |
int | routingLat |
int | iQLat |
int | rtrOutput_maxQSize_flits [ROUTER_NUM_LINKS+1] |
int | rtrInput_maxQSize_flits [ROUTER_NUM_LINKS+1] |
int | oLCB_maxSize_flits |
routingTable_t | routingTable |
link_t | rx_netlinks [ROUTER_NUM_LINKS] |
link_t | tx_netlinks [ROUTER_NUM_LINKS] |
map< Link *, int > | rxNeighbor |
int | txCount [ROUTER_NUM_OUTQS] |
int | rxCount [ROUTER_NUM_INQS] |
inQ_t | inputQ [ROUTER_NUM_INQS] |
bool | ready_inQ |
outQ_t | outputQ [ROUTER_NUM_OUTQS][ROUTER_NUM_INQS] |
oLCB_t | outLCB [ROUTER_NUM_OUTQS] |
iLCB_t | inLCB [ROUTER_NUM_INQS] |
bool | ready_oLCB |
bool | ready_iLCB |
Network * | network |
vector< Link * > | linkV |
int | debug_interval |
bool | dumpTables |
Friends | |
class | oLCB_t |
SEC:EDSim.
int SS_router::Finish | ( | ) | [protected, virtual] |
Called after simulation completes, but before objects are destroyed.
A good place to print out statistics.
Reimplemented from SST::Component.