Index: /issm/trunk-jpl/src/c/classes/Profiler.h
===================================================================
--- /issm/trunk-jpl/src/c/classes/Profiler.h	(revision 23227)
+++ /issm/trunk-jpl/src/c/classes/Profiler.h	(revision 23228)
@@ -16,7 +16,8 @@
 #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{
Index: /issm/trunk-jpl/src/c/cores/thermal_core.cpp
===================================================================
--- /issm/trunk-jpl/src/c/cores/thermal_core.cpp	(revision 23227)
+++ /issm/trunk-jpl/src/c/cores/thermal_core.cpp	(revision 23228)
@@ -12,5 +12,8 @@
 
 void thermal_core(FemModel* femmodel){
-
+	
+	/*Start profiler*/
+        femmodel->profiler->Start(THERMALCORE);
+	
 	/*intermediary*/
 	bool   save_results,isenthalpy;
@@ -52,4 +55,6 @@
 	/*Free ressources:*/	
 	if(numoutputs){for(int i=0;i<numoutputs;i++){xDelete<char>(requested_outputs[i]);} xDelete<char*>(requested_outputs);}
-
+	
+	/*End profiler*/
+        femmodel->profiler->Stop(THERMALCORE);
 }
