diff --git a/src/plugins/jobacct_gather/common/common_jag.c b/src/plugins/jobacct_gather/common/common_jag.c index 189bdbbbe2e093fa94b7f7b005ea3a35f777a626..8e96b0ce6273f08c3c4412d87fa0ceee2c72a4d4 100644 --- a/src/plugins/jobacct_gather/common/common_jag.c +++ b/src/plugins/jobacct_gather/common/common_jag.c @@ -1054,7 +1054,7 @@ extern void jag_common_poll_data( jobacct->last_tres_usage_out_tot = jobacct->tres_usage_out_tot[TRES_ARRAY_FS_DISK]; jobacct->last_total_cputime = - jobacct->tres_usage_out_tot[TRES_ARRAY_CPU]; + jobacct->tres_usage_in_tot[TRES_ARRAY_CPU]; jobacct->last_time = jobacct->cur_time; }