Skip to content

Commit 7a828e2

Browse files
author
Willi Braun
committed
- fixed bug with time measurements at runtime
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14971 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 7f88cd8 commit 7a828e2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

SimulationRuntime/c/simulation/solver/solver_main.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -529,13 +529,9 @@ int solver_main(DATA* data, const char* init_initMethod,
529529
INFO1(LOG_STATS, "The number of error test failures: %d", ((DASSL_DATA*)solverInfo.solverData)->dasslStatistics[3]);
530530
INFO1(LOG_STATS, "The number of convergence test failures: %d", ((DASSL_DATA*)solverInfo.solverData)->dasslStatistics[4]);
531531
}
532+
rt_tick(SIM_TIMER_TOTAL);
532533

533534
}
534-
else
535-
{
536-
if(measure_time_flag)
537-
rt_accumulate(SIM_TIMER_TOTAL);
538-
}
539535

540536
/* deintialize solver related workspace */
541537
if(flag == 2)

0 commit comments

Comments
 (0)