merge job rusage and pending reason support

This commit is contained in:
Rongsong Shen 2025-12-16 14:36:28 +08:00
parent 30824ae5ea
commit cb0c7fe9e7
82 changed files with 4280 additions and 2561 deletions

View file

@ -8,6 +8,8 @@
#include "xcectx.h"
extern int xce_hello(xce_ctx_t*, char*);
extern int xce_nop(xce_ctx_t*);
extern int xce_heartbeat(xce_ctx_t*, int);
extern int xce_shutdown(xce_ctx_t*);
extern int xce_reslist(xce_ctx_t*, xce_resource_t***);
extern int xce_join(xce_ctx_t*, int, hostattrs_t*);
@ -27,5 +29,8 @@ extern int xce_queuectrl(xce_ctx_t*, xce_queuectrl_t*);
extern int xce_runtask(xce_ctx_t*, xce_taskrun_t*);
extern int xce_update_jusage(xce_ctx_t*, uint64_t, int, int*, int, int*, int,
xce_rusage_t**);
extern int xce_set_pend_reason(xce_ctx_t*, xce_preason_set_t*);
extern int xce_clear_reason(xce_ctx_t*, xce_clear_reason_t*);
extern int xce_jobinfo(xce_ctx_t*, uint64_t, xce_job_t**);
#endif