📄 daemoncsched.h
字号:
/* MPICH-V/CL Copyright (C) 2002, 2003 Groupe Cluster et Grid, LRI, Universite de Paris Sud This file is part of MPICH-V/CL. MPICH-V/CL is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. MPICH-V/CL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with MPICH-V/CL; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: daemonCsched.h,v 1.9 2004/06/17 17:35:25 bouziane Exp $*/#ifndef DAEMONCSCHED_H#define DAEMONCSCHED_H#define STATUS_NOT_CONNECTED 0#define STATUS_CONNECTED 1#define STATUS_CP_REQUESTED 2#define STATUS_CP_RUNNING 3#define STATUS_UCP_REQUESTED 4#define STATUS_RESTARTING 5/** return the current status of the checkpoint */int ckpt_status();/** set the current status of the checkpoint * @param statu : new status */void set_ckpt_status(int statu);/** call when a checkpoint start, just after the CP_START is sent to mpi process */void csched_on_begin_cp ();/** call just after the acknowledge of the end of the checkpoint * is received from the checkpoint server */void csched_on_end_cp ();/** return 1 if status == STATUS_CP_REQUESTED, 0 else */int csched_can_cp_now ();/** set the status to STATUS_CP_REQUESTED */void cp_request();/** call when a in begin of restart phase */void csched_begin_restart();/** call at the end of the restart to send to csched autorization to launch checkpoint phase */void csched_end_restart();/** called before the checkpoint order is sent to mpi proces. return CP_START for checkpointing on fork.*/int csched_ckpt_type();#include "FTPI/ftp_csched.h"#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -