Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22754 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Oct 15, 2014
1 parent 4a29dfa commit bc9f9ad
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions SimulationRuntime/ParModelica/auto/om_pm_interface.cpp
Expand Up @@ -56,10 +56,10 @@ void PM_functionInitialEquations(int size, void* data, FunctionType* functionIni

// pm_om_model.ini_system_funcs = functionInitialEquations_systems;
// pm_om_model.INI_scheduler.execute();
pm_om_model.INI_scheduler.execution_timer.start_timer();
pm_om_model.INI_scheduler.execution_timer.start_timer();
for(int i = 0; i < size; ++i)
functionInitialEquations_systems[i](data);
pm_om_model.INI_scheduler.execution_timer.stop_timer();
pm_om_model.INI_scheduler.execution_timer.stop_timer();

}

Expand All @@ -69,22 +69,22 @@ void PM_functionDAE(int size, void* data, FunctionType* functionDAE_systems) {
// pm_om_model.dae_system_funcs = functionDAE_systems;
// pm_om_model.DAE_scheduler.execute();

pm_om_model.DAE_scheduler.execution_timer.start_timer();
pm_om_model.DAE_scheduler.execution_timer.start_timer();
for(int i = 0; i < size; ++i)
functionDAE_systems[i](data);
pm_om_model.DAE_scheduler.execution_timer.stop_timer();
pm_om_model.DAE_scheduler.execution_timer.stop_timer();

}


void PM_functionODE(int size, void* data, FunctionType* functionODE_systems) {

pm_om_model.ODE_scheduler.execute();
// pm_om_model.ODE_scheduler.execution_timer.start_timer();

// pm_om_model.ODE_scheduler.execution_timer.start_timer();
// for(int i = 0; i < size; ++i)
// functionODE_systems[i](data);
// pm_om_model.ODE_scheduler.execution_timer.stop_timer();
// pm_om_model.ODE_scheduler.execution_timer.stop_timer();
}

void PM_functionAlg(int size, void* data, FunctionType* functionAlg_systems) {
Expand All @@ -102,7 +102,7 @@ void dump_times() {
utility::log("") << "Total INI: " << pm_om_model.INI_scheduler.execution_timer.get_elapsed_time() << std::endl;
utility::log("") << "Total DAE: " << pm_om_model.DAE_scheduler.execution_timer.get_elapsed_time() << std::endl;
utility::log("") << "Total ODE: " << pm_om_model.ODE_scheduler.execution_timer.get_elapsed_time() << std::endl;
utility::log("") << "Total ODE: " << pm_om_model.ODE_scheduler.clustering_timer.get_elapsed_time() << std::endl;
utility::log("") << "Total ODE: " << pm_om_model.ODE_scheduler.clustering_timer.get_elapsed_time() << std::endl;
utility::log("") << "Total ALG: " << pm_om_model.total_alg_time.get_elapsed_time() << std::endl;
}

Expand Down

0 comments on commit bc9f9ad

Please sign in to comment.