Index: ../trunk-jpl/src/c/cores/thermal_core.cpp =================================================================== --- ../trunk-jpl/src/c/cores/thermal_core.cpp (revision 23227) +++ ../trunk-jpl/src/c/cores/thermal_core.cpp (revision 23228) @@ -11,7 +11,10 @@ #include "../solutionsequences/solutionsequences.h" void thermal_core(FemModel* femmodel){ - + + /*Start profiler*/ + femmodel->profiler->Start(THERMALCORE); + /*intermediary*/ bool save_results,isenthalpy; bool dakota_analysis; @@ -51,5 +54,7 @@ /*Free ressources:*/ if(numoutputs){for(int i=0;i(requested_outputs[i]);} xDelete(requested_outputs);} - + + /*End profiler*/ + femmodel->profiler->Stop(THERMALCORE); } Index: ../trunk-jpl/src/c/classes/Profiler.h =================================================================== --- ../trunk-jpl/src/c/classes/Profiler.h (revision 23227) +++ ../trunk-jpl/src/c/classes/Profiler.h (revision 23228) @@ -15,9 +15,10 @@ #define CORE 2 /*Profiling solution */ #define SOLVER 3 /*Profiling solution */ #define ADCORE 4 /*Profiling AD */ -#define STRESSBALANCECORE 5 /*Profiling AD */ -#define MASSTRANSPORTCORE 6 /*Profiling AD */ -#define MAXPROFSIZE 7 /*Used to initialize static arrays*/ +#define THERMALCORE 5 /*Profiling THERMAL */ +#define STRESSBALANCECORE 6 /*Profiling STRESSBALANCE */ +#define MASSTRANSPORTCORE 7 /*Profiling MASSTRANSPORT */ +#define MAXPROFSIZE 8 /*Used to initialize static arrays*/ class Profiler: public Object{