From 9022d62f12b4941be58b4c241c37f4cb3de89d4a Mon Sep 17 00:00:00 2001 From: jette <jette@schedmd.com> Date: Wed, 15 Oct 2014 19:09:01 -0700 Subject: [PATCH] Expand explanation of job end_time Specifically if job terminated from suspend state, end_time will be the time that the job suspend began --- src/slurmctld/slurmctld.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/slurmctld/slurmctld.h b/src/slurmctld/slurmctld.h index 6553e9e9ec2..6e26c6ac949 100644 --- a/src/slurmctld/slurmctld.h +++ b/src/slurmctld/slurmctld.h @@ -567,8 +567,9 @@ struct job_record { uint16_t direct_set_prio; /* Priority set directly if * set the system will not * change the priority any further. */ - time_t end_time; /* time of termination, - * actual or expected */ + time_t end_time; /* time execution ended, actual or + * expected. if terminated from suspend + * state, this is time suspend began */ bool epilog_running; /* true of EpilogSlurmctld is running */ uint32_t exit_code; /* exit code for job (status from * wait call) */ -- GitLab