Skip to content
Snippets Groups Projects
Commit 17072778 authored by Millian Poquet's avatar Millian Poquet
Browse files

code: initialize all ISchedulingAlgorithm fields

parent b020e48b
Branches
No related tags found
No related merge requests found
...@@ -148,12 +148,12 @@ public: ...@@ -148,12 +148,12 @@ public:
void clear_recent_data_structures(); void clear_recent_data_structures();
protected: protected:
Workload * _workload; Workload * _workload = nullptr;
SchedulingDecision * _decision; SchedulingDecision * _decision = nullptr;
Queue * _queue; Queue * _queue = nullptr;
ResourceSelector * _selector; ResourceSelector * _selector = nullptr;
double _rjms_delay; double _rjms_delay = 0.0;
rapidjson::Document * _variant_options; rapidjson::Document * _variant_options = nullptr;
int _nb_machines = -1; int _nb_machines = -1;
RedisStorage * _redis = nullptr; RedisStorage * _redis = nullptr;
bool _no_more_static_job_to_submit_received = false; bool _no_more_static_job_to_submit_received = false;
...@@ -167,7 +167,7 @@ protected: ...@@ -167,7 +167,7 @@ protected:
std::map<int, IntervalSet> _machines_whose_pstate_changed_recently; std::map<int, IntervalSet> _machines_whose_pstate_changed_recently;
IntervalSet _machines_that_became_available_recently; IntervalSet _machines_that_became_available_recently;
IntervalSet _machines_that_became_unavailable_recently; IntervalSet _machines_that_became_unavailable_recently;
bool _nopped_recently; bool _nopped_recently = false;
bool _consumed_joules_updated_recently; bool _consumed_joules_updated_recently = false;
double _consumed_joules; double _consumed_joules = 0.0;
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment