Skip to content

Commit

Permalink
- fixed bug with time measurements at runtime
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14971 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Jan 28, 2013
1 parent 7f88cd8 commit 7a828e2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions SimulationRuntime/c/simulation/solver/solver_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,13 +529,9 @@ int solver_main(DATA* data, const char* init_initMethod,
INFO1(LOG_STATS, "The number of error test failures: %d", ((DASSL_DATA*)solverInfo.solverData)->dasslStatistics[3]);
INFO1(LOG_STATS, "The number of convergence test failures: %d", ((DASSL_DATA*)solverInfo.solverData)->dasslStatistics[4]);
}
rt_tick(SIM_TIMER_TOTAL);

}
else
{
if(measure_time_flag)
rt_accumulate(SIM_TIMER_TOTAL);
}

/* deintialize solver related workspace */
if(flag == 2)
Expand Down

0 comments on commit 7a828e2

Please sign in to comment.