Salome HOME
Work in progress : workload manager uses nb_parallel_procs.
[modules/yacs.git] / src / workloadmanager / DefaultAlgorithm.hxx
index 2e58c66c50be69d8f30edb1058e980908cff7897..dc9c3dd4e4bdb6effac540d93136df024284d17d 100644 (file)
@@ -75,9 +75,11 @@ private:
     bool operator==(const Resource& other)const
     { return _resource == other;}
     const Resource& resource()const { return _resource;}
+    float COST_FOR_0_CORE_TASKS = 1.0 / 4096.0 ;
   private:
     Resource _resource;
     float _load;
+    float _loadCost;
     std::list<ResourceInfoForContainer> _ctypes;
   };