cctools
batch_job_info.h
1/*
2Copyright (C) 2024 The University of Notre Dame
3This software is distributed under the GNU General Public License.
4See the file COPYING for details.
5*/
6
7#ifndef BATCH_JOB_INFO_H
8#define BATCH_JOB_INFO_H
9
10#include <time.h>
11
24
28struct batch_job_info *batch_job_info_create();
29
33void batch_job_info_delete(struct batch_job_info *info);
34
35#endif
Describes a batch job when it has completed.
Definition batch_job_info.h:13
int exit_signal
The signal by which the job was killed, if it exited abnormally.
Definition batch_job_info.h:20
time_t submitted
Time the job was submitted to the system.
Definition batch_job_info.h:14
int disk_allocation_exhausted
Non-zero if the job filled its loop device allocation to capacity, zero otherwise.
Definition batch_job_info.h:21
time_t finished
Time at which the job actually completed.
Definition batch_job_info.h:16
long log_pos
Last read position in the log file, for ftell and fseek.
Definition batch_job_info.h:22
int exited_normally
Non-zero if the job ran to completion, zero otherwise.
Definition batch_job_info.h:18
time_t started
Time the job actually began executing.
Definition batch_job_info.h:15
time_t heartbeat
Time the job last wrote heartbeat.
Definition batch_job_info.h:17
int exit_code
The result code of the job, if it exited normally.
Definition batch_job_info.h:19