- make new scheduler work for sequence jobs
This commit is contained in:
parent
e7ab1c16db
commit
6cf9aa0979
10 changed files with 461 additions and 319 deletions
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include "decision.h"
|
||||
#include "sched/types.h"
|
||||
#include "resreq.h"
|
||||
|
||||
typedef void* plugin_data_t;
|
||||
|
||||
|
|
@ -18,7 +19,7 @@ typedef int (*plugin_update_worker_hook_t)(void*, xce_sched_worker_t*);
|
|||
typedef int (*plugin_job_state_change_hook_t)(void*, xce_sched_job_t*,
|
||||
uint32_t);
|
||||
typedef int (*plugin_commit_decision_hook_t)(void*, xce_decision_t*);
|
||||
typedef int (*plugin_job_election_hook_t)(void*, xce_sched_ctx_t*);
|
||||
typedef int (*plugin_job_election_hook_t)(void*, xce_sched_job_t*);
|
||||
typedef int (*plugin_prepare_allocation_hook_t)(void*, xce_sched_ctx_t*);
|
||||
|
||||
/* initialize function of plugin */
|
||||
|
|
@ -74,7 +75,7 @@ extern int plugin_begin_session(void*);
|
|||
extern int plugin_end_session(void*);
|
||||
extern int plugin_commit_decision(void*, xce_decision_t*);
|
||||
extern int plugin_prepare_allocation(void*, xce_sched_ctx_t*);
|
||||
extern int plugin_job_election(void*, xce_sched_ctx_t*);
|
||||
extern int plugin_job_election(void*, xce_sched_job_t*);
|
||||
extern int register_fcfs(void*);
|
||||
extern int register_limit(void*);
|
||||
extern int register_seqjob_allocator(void*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue