source: trunk/pbs_drmaa/job.h @ 62

Revision 62, 1.2 KB checked in by mmamonski, 8 years ago (diff)

Log missing time

  • Property svn:keywords set to Id
Line 
1/* $Id$ */
2/*
3 *  FedStage DRMAA for PBS Pro
4 *  Copyright (C) 2006-2009  FedStage Systems
5 *
6 *  This program is free software: you can redistribute it and/or modify
7 *  it under the terms of the GNU General Public License as published by
8 *  the Free Software Foundation, either version 3 of the License, or
9 *  (at your option) any later version.
10 *
11 *  This program is distributed in the hope that it will be useful,
12 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 *  GNU General Public License for more details.
15 *
16 *  You should have received a copy of the GNU General Public License
17 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __PBS_DRMAA__JOB_H
21#define __PBS_DRMAA__JOB_H
22
23#ifdef HAVE_CONFIG_H
24#       include <config.h>
25#endif
26
27#include <drmaa_utils/job.h>
28
29typedef struct pbsdrmaa_job_s pbsdrmaa_job_t;
30
31/* Do not depend on <pbs_ifl.h> */
32struct batch_status;
33
34fsd_job_t *
35pbsdrmaa_job_new( char *job_id );
36
37struct pbsdrmaa_job_s {
38        fsd_job_t super;
39        time_t missing_time; /* The time when job was seen as missing for the first time */
40
41        void (*
42        update)( fsd_job_t *self, struct batch_status *status );
43};
44
45
46#endif /* __PBS_DRMAA__JOB_H */
47
Note: See TracBrowser for help on using the repository browser.