mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 10:55:04 +08:00
Introduce local scheduler heartbeats which carry load information. (#155)
* Introduce local scheduler heartbeats which carry load information.
This commit is contained in:
committed by
Alexey Tumanov
parent
9bb9f8cb54
commit
3d697c7ed2
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "photon.h"
|
||||
#include "common/task.h"
|
||||
#include "state/local_scheduler_table.h"
|
||||
|
||||
/* The duration that the local scheduler will wait before reinitiating a fetch
|
||||
* request for a missing task dependency. TODO(rkn): We may want this to be
|
||||
@@ -33,6 +34,13 @@ scheduling_algorithm_state *make_scheduling_algorithm_state(void);
|
||||
void free_scheduling_algorithm_state(
|
||||
scheduling_algorithm_state *algorithm_state);
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
void provide_scheduler_info(local_scheduler_state *state,
|
||||
scheduling_algorithm_state *algorithm_state,
|
||||
local_scheduler_info *info);
|
||||
|
||||
/**
|
||||
* This function will be called when a new task is submitted by a worker for
|
||||
* execution.
|
||||
|
||||
Reference in New Issue
Block a user