Skip to content

Commit

Permalink
Remove even more
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouncner committed Dec 2, 2022
1 parent 2c1a487 commit f776975
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/lib/scheduler/node_queue_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,11 @@ const std::vector<std::shared_ptr<TaskQueue>>& NodeQueueScheduler::queues() cons
return _queues;
}

/*
const std::vector<std::shared_ptr<Worker>>& NodeQueueScheduler::workers() const {
return _workers;
}
*/

void NodeQueueScheduler::schedule(std::shared_ptr<AbstractTask> task, NodeID preferred_node_id,
SchedulePriority priority) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/scheduler/node_queue_scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class NodeQueueScheduler : public AbstractScheduler {

const std::vector<std::shared_ptr<TaskQueue>>& queues() const override;

const std::vector<std::shared_ptr<Worker>>& workers() const;
//const std::vector<std::shared_ptr<Worker>>& workers() const;

/**
* @param task
Expand Down
3 changes: 2 additions & 1 deletion src/lib/scheduler/task_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ std::shared_ptr<AbstractTask> TaskQueue::steal() {
}
return nullptr;
}

/*
size_t TaskQueue::estimate_load() {
auto estimated_load = size_t{0};
Expand All @@ -73,5 +73,6 @@ size_t TaskQueue::estimate_load() {
return estimated_load;
}
*/

} // namespace hyrise
2 changes: 1 addition & 1 deletion src/lib/scheduler/task_queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class TaskQueue {
/**
* XXXX
*/
size_t estimate_load();
//size_t estimate_load();

/**
* Notifies one worker as soon as a new task gets pushed into the queue
Expand Down

0 comments on commit f776975

Please sign in to comment.