source: issm/oecreview/Archive/23185-23389/ISSM-23227-23228.diff

Last change on this file was 23390, checked in by Mathieu Morlighem, 6 years ago

CHG: added Archive/23185-23389

File size: 1.6 KB
  • ../trunk-jpl/src/c/cores/thermal_core.cpp

     
    1111#include "../solutionsequences/solutionsequences.h"
    1212
    1313void thermal_core(FemModel* femmodel){
    14 
     14       
     15        /*Start profiler*/
     16        femmodel->profiler->Start(THERMALCORE);
     17       
    1518        /*intermediary*/
    1619        bool   save_results,isenthalpy;
    1720        bool   dakota_analysis;
     
    5154
    5255        /*Free ressources:*/   
    5356        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);
    5560}
  • ../trunk-jpl/src/c/classes/Profiler.h

     
    1515#define CORE               2 /*Profiling solution */
    1616#define SOLVER             3 /*Profiling solution */
    1717#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*/
    2122
    2223class Profiler: public Object{
    2324
Note: See TracBrowser for help on using the repository browser.