Changeset 23228
- Timestamp:
- 09/07/18 03:20:06 (7 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Profiler.h
r23222 r23228 16 16 #define SOLVER 3 /*Profiling solution */ 17 17 #define ADCORE 4 /*Profiling AD */ 18 #define STRESSBALANCECORE 5 /*Profiling AD */ 19 #define MASSTRANSPORTCORE 6 /*Profiling AD */ 20 #define MAXPROFSIZE 7 /*Used to initialize static arrays*/ 18 #define THERMALCORE 5 /*Profiling THERMAL */ 19 #define STRESSBALANCECORE 6 /*Profiling STRESSBALANCE */ 20 #define MASSTRANSPORTCORE 7 /*Profiling MASSTRANSPORT */ 21 #define MAXPROFSIZE 8 /*Used to initialize static arrays*/ 21 22 22 23 class Profiler: public Object{ -
issm/trunk-jpl/src/c/cores/thermal_core.cpp
r20020 r23228 12 12 13 13 void thermal_core(FemModel* femmodel){ 14 14 15 /*Start profiler*/ 16 femmodel->profiler->Start(THERMALCORE); 17 15 18 /*intermediary*/ 16 19 bool save_results,isenthalpy; … … 52 55 /*Free ressources:*/ 53 56 if(numoutputs){for(int i=0;i<numoutputs;i++){xDelete<char>(requested_outputs[i]);} xDelete<char*>(requested_outputs);} 54 57 58 /*End profiler*/ 59 femmodel->profiler->Stop(THERMALCORE); 55 60 }
Note:
See TracChangeset
for help on using the changeset viewer.