---------------------------------------------------------------
| 34 | |
| 35 | //--------------------------------------------------------------- |
| 36 | void InitRegion() { |
| 37 | BL_PROFILE_REGION_START("R::InitRegion"); |
| 38 | BL_PROFILE("InitRegion()"); |
| 39 | int nProcs(ParallelDescriptor::NProcs()); |
| 40 | int myProc(ParallelDescriptor::MyProc()); |
| 41 | double sleepTime(1 + myProc * 0.1); |
| 42 | |
| 43 | amrex::Print(Print::AllProcs) << myProc << "::InitRegion = " |
| 44 | << sleepTime << " s." << endl; |
| 45 | |
| 46 | SleepProcTimes(sleepTime); |
| 47 | |
| 48 | BL_PROFILE_REGION_STOP("R::InitRegion"); |
| 49 | |
| 50 | } |
| 51 | |
| 52 | //--------------------------------------------------------------- |
| 53 | void ComputeRegion() { |
no test coverage detected