Changeset 23473
- Timestamp:
- 11/29/18 01:35:54 (6 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/FemModel.cpp
r23471 r23473 880 880 if(profiler->Used(ESACORE)) _printf0_(" "<<setw(40)<<left<<"ESA core elapsed time:"<<setw(7)<<setprecision(6)<<profiler->TotalTime(ESACORE) << " sec\n"); 881 881 if(profiler->Used(SLRCORE)) _printf0_(" "<<setw(40)<<left<<"SLR core elapsed time:"<<setw(7)<<setprecision(6)<<profiler->TotalTime(SLRCORE) << " sec\n"); 882 if(profiler->Used(MPISERIAL)) _printf0_(" "<<setw(40)<<left<<"MPISERIAL elapsed time:"<<setw(7)<<setprecision(6)<<profiler->TotalTime(MPISERIAL) << " sec\n"); 882 883 883 884 /*Add to results: */ -
issm/trunk-jpl/src/c/classes/Profiler.h
r23232 r23473 27 27 #define ESACORE 14 /*Profiling ESA */ 28 28 #define SLRCORE 15 /*Profiling SLR */ 29 #define MAXPROFSIZE 16 /*Used to initialize static arrays*/ 29 #define MPISERIAL 16 /*Profiling MPISerial */ 30 #define MAXPROFSIZE 17 /*Used to initialize static arrays*/ 31 30 32 31 33 class Profiler: public Object{ -
issm/trunk-jpl/src/c/modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.cpp
r18521 r23473 10 10 11 11 /*Serialize solution, so that elements can index into it on every CPU: */ 12 femmodel->profiler->Start(MPISERIAL); 12 13 IssmDouble* serial_solution=solution->ToMPISerial(); 14 femmodel->profiler->Stop(MPISERIAL); 13 15 14 16 /*Call overloaded form of InputUpdateFromSolutionx: */
Note:
See TracChangeset
for help on using the changeset viewer.