📄 ftp_csched.h
字号:
/** @file ftp_csched.h describes API from daemon to Checkpoint Scheduler */#ifndef FTP_CSCHED_H#define FTP_CSCHED_H#include "config.h"#include "debug.h"/** initialize connection to checkpoint scheduler * @param saddr : ip address of csched * @param myrank : rank of local mpi process * @param worldsize : number of mpi processes * @return fd to csched */int ftp_init_csched(struct sockaddr_in *saddr, int myrank, int worldsize);/** handles a write on checkpoint scheduler * @param fd: the file descriptor of the connection with the Ckpt Scheduler * @return -1 on error */#ifndef ftp_csched_writeint ftp_csched_write(int fd);#endif/** handles a read on checkpoint scheduler * @param fd: the file descriptor of the connection with the Ckpt Scheduler * @return -1 on error */#ifndef ftp_csched_readint ftp_csched_read(int fd);#endif/** verify if something has to be sent to EL * @return : 1 if something, 0 if nothing */#ifndef ftp_getcschedfdsetint ftp_getcschedfdset();#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -