PPL Logo

ck-ldb/RefineSwapLB.C File Reference

Written by Harshitha Menon. More...

Go to the source code of this file.

Data Structures

class  RefineSwapLB::ProcLoadGreater
class  RefineSwapLB::ProcLoadGreaterIndex
class  RefineSwapLB::ObjLoadGreater

Functions

 CreateLBFunc_Def (RefineSwapLB,"always assign the heaviest obj onto lightest loaded processor.")
void addObjToProc (ProcArray *parr, ObjGraph *ogr, std::vector< int > *pe_obj, int pe_index, int obj_index)
void removeObjFromProc (ProcArray *parr, ObjGraph *ogr, std::vector< int > *pe_obj, int pe_index, int arr_index)
int getMax (ProcArray *parr, std::vector< int > &max_pe_heap)
bool refine (ProcArray *parr, ObjGraph *ogr, std::vector< int > &max_pe_heap, std::vector< int > &min_pe_heap, std::vector< int > *pe_obj, int max_pe, double avg_load, double threshold)
bool IsSwapPossWithPe (ProcArray *parr, ObjGraph *ogr, std::vector< int > *pe_obj, std::vector< int > &max_pe_heap, std::vector< int > &min_pe_heap, int max_pe, int pe_considered, int pe_cons_iter, double diff, double avg_load, double threshold)
bool refineSwap (ProcArray *parr, ObjGraph *ogr, std::vector< int > &max_pe_heap, std::vector< int > &min_pe_heap, std::vector< int > *pe_obj, int max_pe, double avg_load, double threshold)

Variables

int quietModeRequested


Detailed Description

Written by Harshitha Menon.

Status: -- Does not support pe_speed's currently -- Does not support nonmigratable attribute

Definition in file RefineSwapLB.C.


Generated on Mon Sep 21 07:59:16 2020 for Charm++ by  doxygen 1.5.5