⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mastersched.h

📁 Path MPICH-V for MPICH the MPI Implementation
💻 H
字号:
typedef struct  SchedJob{    int sockDisp;  int sockSC;  int timeSlot;  int remaintime;  int on_exec;  int justlaunch;  int launch_next;  };struct master_info {  char type;  int numJob;  };/* Establish connection with dispatchers and checkpoint schedulers*/void newConnection();/** Sending execution order to job identified by iJob. * @param iJob : which job to restart * @return : 1 if sending order to dispatcher is succeded */int send_launchJ_order (int iJob);/** Set futur job to be launched. */void setNextJob ();/** Close all sockets of a finalized job. * @param iJob : Identifies finalaze job */int finalize_oneJ_checkAll (int iJob);/** Launch execution of next job. * @return : 1 if sending order to dispatcher is successful * or if job to launch is not on checkpoint phase  */int launchNextJob ();/** Launch checkpoint phase according to checkpoint policies. */void on_begin_checkpoint ();/** Called when a checkpoint scheduler notifies the end of  * checkpoint phase. launchs next job according to checkpoint * policies. */void on_end_Checkpoint (int iJob);/** Set counter of time on the less values of remain time of  * executing job */void setTimeout();/** Parsing commande line. */void parse_args(int argc, char *argv[]);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -