Added missing DD cycle counting
[alexxy/gromacs.git] / src / gromacs / domdec / domdec.cpp
index 28ffa7ab2dc0cf7b35ddf6fcdf93d3155debe774..0b6001e6676d202d83eb81e759ade83500a44c32 100644 (file)
@@ -9329,6 +9329,8 @@ void dd_partition_system(FILE                *fplog,
     real               grid_density;
     char               sbuf[22];
 
+    wallcycle_start(wcycle, ewcDOMDEC);
+
     dd   = cr->dd;
     comm = dd->comm;
 
@@ -9915,4 +9917,6 @@ void dd_partition_system(FILE                *fplog,
         check_index_consistency(dd, top_global->natoms, ncg_mtop(top_global),
                                 "after partitioning");
     }
+
+    wallcycle_stop(wcycle, ewcDOMDEC);
 }