Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A for-loop with 'num' modified in the body is too complex according to Sonar.
[simgrid.git] / src / smpi / colls / coll_tuned_topo.hpp
index 82718230d8b92bcdb29445d317065a656f72f6f5..d3128ec5f6239af5f15ad988be4c42b77e9c6fbb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
       (SEGCOUNT)++;                                                                                                    \
   }
 
-typedef struct ompi_coll_tree_t {
+struct ompi_coll_tree_t {
   int32_t tree_root;
   int32_t tree_fanout;
   int32_t tree_bmtree;
   int32_t tree_prev;
   int32_t tree_next[MAXTREEFANOUT];
   int32_t tree_nextsize;
-} ompi_coll_tree_t;
+};
 
 ompi_coll_tree_t* ompi_coll_tuned_topo_build_tree(int fanout, MPI_Comm com, int root);
 ompi_coll_tree_t* ompi_coll_tuned_topo_build_in_order_bintree(MPI_Comm comm);