Scrambler
1
|
Module for calculating the waiting times to allow for global load balancing. More...
Public Member Functions | |
subroutine | CalcEstimatedWaitingTimes (n) |
Calculate waiting times for each level - called before every maxlevel advance. | |
subroutine | GetMaxDiff (maxdiff, x) |
Takes a vector and subtracts it from the maximum value. | |
subroutine | SchedulingInit () |
Allocate necessary arrays for scheduling module. | |
Public Attributes | |
REAL(KIND=qPREC), dimension(:,:), allocatable | WorkLoadByLevelPerStep |
REAL(KIND=qPREC), dimension(:), allocatable | MeanWorkLoadByLevelPerStep |
TYPE(pNodeDeflist), dimension(:), allocatable | AdvanceNodeListBylevel |
REAL(KIND=qPREC), dimension(:), allocatable | SyncTime |
REAL(KIND=qPREC), dimension(:), allocatable | AccumulatedWorkDoneByLevel |
REAL(KIND=qPREC) | TimeAvailableToSolver |
Module for calculating the waiting times to allow for global load balancing.
Definition at line 32 of file scheduling.f90.
subroutine CalcEstimatedWaitingTimes | ( | INTEGER | n | ) |
Calculate waiting times for each level - called before every maxlevel advance.
n | level |
Definition at line 61 of file scheduling.f90.
subroutine GetMaxDiff | ( | REAL(KIND=qPREC), dimension(:) | maxdiff, |
REAL(KIND=qPREC), dimension(:) | x | ||
) |
Takes a vector and subtracts it from the maximum value.
maxdiff | output vector |
x | input vector |
Definition at line 186 of file scheduling.f90.
subroutine SchedulingInit | ( | ) |
Allocate necessary arrays for scheduling module.
Definition at line 195 of file scheduling.f90.
REAL(KIND=qPREC), dimension(:,:), allocatable WorkLoadByLevelPerStep |
Definition at line 43 of file scheduling.f90.
REAL(KIND=qPREC), dimension(:), allocatable MeanWorkLoadByLevelPerStep |
Definition at line 44 of file scheduling.f90.
TYPE(pNodeDeflist), dimension(:), allocatable AdvanceNodeListBylevel |
Definition at line 45 of file scheduling.f90.
REAL(KIND=qPREC), dimension(:), allocatable SyncTime |
Definition at line 49 of file scheduling.f90.
REAL(KIND=qPREC), dimension(:), allocatable AccumulatedWorkDoneByLevel |
Definition at line 50 of file scheduling.f90.
REAL(KIND=qPREC) TimeAvailableToSolver |
Definition at line 54 of file scheduling.f90.