Commit 773aac3b authored by Neil McGlohon's avatar Neil McGlohon

Slimfly Router Model Net Events Adaptation

parent 73e127c3
......@@ -66,6 +66,7 @@ typedef struct mn_stats mn_stats;
X(SIMPLEP2P, "modelnet_simplep2p", "simplep2p", &simplep2p_method)\
X(TORUS, "modelnet_torus", "torus", &torus_method)\
X(SLIMFLY, "modelnet_slimfly", "slimfly", &slimfly_method)\
X(SLIMFLY_ROUTER, "modelnet_slimfly_router", "slimfly_router", &slimfly_router_method)\
X(FATTREE, "modelnet_fattree", "fattree", &fattree_method)\
X(DRAGONFLY, "modelnet_dragonfly", "dragonfly", &dragonfly_method)\
X(DRAGONFLY_ROUTER, "modelnet_dragonfly_router", "dragonfly_router", &dragonfly_router_method)\
......
......@@ -398,6 +398,8 @@ void model_net_base_configure(){
offsetof(model_net_wrap_msg, msg.m_dally_dfly);
msg_offsets[SLIMFLY] =
offsetof(model_net_wrap_msg, msg.m_slim);
msg_offsets[SLIMFLY_ROUTER] =
offsetof(model_net_wrap_msg, msg.m_slim);
msg_offsets[FATTREE] =
offsetof(model_net_wrap_msg, msg.m_fat);
msg_offsets[LOGGP] =
......
......@@ -28,6 +28,7 @@ extern struct model_net_method dragonfly_plus_router_method;
extern struct model_net_method dragonfly_dally_method;
extern struct model_net_method dragonfly_dally_router_method;
extern struct model_net_method slimfly_method;
extern struct model_net_method slimfly_router_method;
extern struct model_net_method fattree_method;
extern struct model_net_method dragonfly_router_method;
extern struct model_net_method dragonfly_custom_router_method;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment