Modernize wallcycle counting
[alexxy/gromacs.git] / src / gromacs / mdrun / tpi.cpp
index 056cbb29d4c3dbf277f8071ea1f2a39cf7f3b744..758e2ae6917d9adc9162469b77a7b86724538b5c 100644 (file)
@@ -305,7 +305,7 @@ void LegacySimulator::do_tpi()
 
     /* Print to log file  */
     walltime_accounting_start_time(walltime_accounting);
-    wallcycle_start(wcycle, ewcRUN);
+    wallcycle_start(wcycle, WallCycleCounter::Run);
     print_start(fplog, cr, walltime_accounting, "Test Particle Insertion");
 
     /* The last charge group is the group to be inserted */