merge job rusage and pending reason support

This commit is contained in:
Rongsong Shen 2025-12-16 14:36:28 +08:00
parent 30824ae5ea
commit cb0c7fe9e7
82 changed files with 4280 additions and 2561 deletions

View file

@ -9,6 +9,7 @@
#include <string.h>
#include <sys/epoll.h>
#include <sys/socket.h>
#include <time.h>
#include <unistd.h>
#include "dataq.h"
@ -355,6 +356,7 @@ static int handle_input(endpoint_t* ep)
}
io_fsm_start(&(ep->fsm_in), pkt);
ep->ts_last_in = time(NULL);
}
rc = io_fsm_perform(&(ep->fsm_in));
@ -388,6 +390,8 @@ static int handle_output(endpoint_t* ep)
if (rc < 0) {
return rc;
}
ep->ts_last_out = time(NULL);
}
rc = io_fsm_perform(&(ep->fsm_out));