diff --git a/codes/model-net.h b/codes/model-net.h index da36aa3ad24fe4d5da7a43341fe047964bdca975..5ad37b6f179953e10cd8ba320e0469644dd89e21 100644 --- a/codes/model-net.h +++ b/codes/model-net.h @@ -61,6 +61,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(FATTREE, "modelnet_fattree", "fattree", &fattree_method)\ X(DRAGONFLY, "modelnet_dragonfly", "dragonfly", &dragonfly_method)\ X(DRAGONFLY_ROUTER, "modelnet_dragonfly_router", "dragonfly_router", &dragonfly_router_method)\ X(LOGGP, "modelnet_loggp", "loggp", &loggp_method)\ diff --git a/src/Makefile.subdir b/src/Makefile.subdir index 4174681a66de634e77b4d48b11563b9c3ad8101d..818bdc811f2fe0829feb34ee619412d9e4ce4d43 100644 --- a/src/Makefile.subdir +++ b/src/Makefile.subdir @@ -25,6 +25,7 @@ EXTRA_DIST += src/iokernellang/codesparser.y.in \ src/network-workloads/conf/allocation-random.conf \ src/network-workloads/conf/modelnet-synthetic-dragonfly.conf \ src/network-workloads/conf/modelnet-synthetic-slimfly-min.conf \ + src/network-workloads/conf/modelnet-synthetic-fattree.conf \ src/networks/model-net/doc/README \ src/networks/model-net/doc/README.dragonfly.txt \ src/networks/model-net/doc/README.loggp.txt \ @@ -88,6 +89,7 @@ nobase_include_HEADERS = \ codes/model-net-inspect.h \ codes/net/dragonfly.h \ codes/net/slimfly.h \ + codes/net/fattree.h \ codes/net/loggp.h \ codes/net/simplenet-upd.h \ codes/net/simplep2p.h \ @@ -148,6 +150,7 @@ src_libcodes_a_SOURCES = \ src/networks/model-net/torus.c \ src/networks/model-net/dragonfly.c \ src/networks/model-net/slimfly.c \ + src/networks/model-net/fattree.c \ src/networks/model-net/loggp.c \ src/networks/model-net/simplep2p.c \ src/networks/model-net/model-net-lp.c \ diff --git a/src/networks/model-net/model-net.c b/src/networks/model-net/model-net.c index 472e9dc691d10a21c762aa58f3948c78a26c2de6..55d5e9c04a20327af433bb55d9f792802aae69bf 100644 --- a/src/networks/model-net/model-net.c +++ b/src/networks/model-net/model-net.c @@ -22,6 +22,7 @@ extern struct model_net_method simplep2p_method; extern struct model_net_method torus_method; extern struct model_net_method dragonfly_method; extern struct model_net_method slimfly_method; +extern struct model_net_method fattree_method; extern struct model_net_method dragonfly_router_method; extern struct model_net_method loggp_method;