Changeset 15385
- Timestamp:
- 07/01/13 23:31:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/FemModel.cpp
r15384 r15385 346 346 _printf0_("Solution number of flops : " << solution_flops << " Flops\n"); 347 347 _printf0_("Solution memory used : " << solution_memory << " Bytes\n"); 348 348 349 349 /*Add to results: */ 350 350 results->AddObject(new GenericExternalResult<IssmDouble>(results->Size()+1, ProfilingSolutionTimeEnum, solution_time, 1, 0)); 351 351 results->AddObject(new GenericExternalResult<IssmDouble>(results->Size()+1, ProfilingCurrentMemEnum, solution_memory, 1, 0)); 352 352 results->AddObject(new GenericExternalResult<IssmDouble>(results->Size()+1, ProfilingCurrentFlopsEnum, solution_flops, 1, 0)); 353 } 353 354 #ifdef _HAVE_ADOLC_ 355 solution_time=profiler->DeltaTime(StartAdCore,FinishAdCore); 356 solution_flops=profiler->DeltaFlops(StartAdCore,FinishAdCore); 357 solution_memory=profiler->Memory(FinishAdCore); 358 359 _printf0_("AD Solution elapsed time : " << solution_time << " Seconds\n"); 360 _printf0_("AD Solution number of flops : " << solution_flops << " Flops\n"); 361 _printf0_("AD Solution memory used : " << solution_memory << " Bytes\n"); 362 363 364 #endif 365 366 } 354 367 } 355 368 /*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.