Add clock_micros()

This commit is contained in:
2022-12-31 00:53:36 +01:00
parent 9ad1ecf1da
commit 96f3225f51
7 changed files with 20 additions and 14 deletions

View File

@ -23,7 +23,7 @@ typedef struct {
char req_host[256], err_msg[256];
char log_prefix[512];
char _c_addr[INET6_ADDRSTRLEN + 1], _s_addr[INET6_ADDRSTRLEN + 1];
struct timespec begin, end;
long cnx_s, cnx_e, req_s, res_ts, req_e;
http_req req;
http_res res;
http_uri uri;