rename counter -> stat

This commit is contained in:
luwenpeng
2024-03-08 14:25:01 +08:00
parent c945931620
commit d0914483bb
7 changed files with 41 additions and 41 deletions

View File

@@ -68,7 +68,7 @@ struct session *session_manager_get_evicted_session(struct session_manager *mgr)
// return >0: next expire interval
uint64_t session_manager_get_expire_interval(struct session_manager *mgr);
struct session_counter
struct session_manager_stat
{
uint64_t tcp_sess_num;
uint64_t tcp_opening_sess_num;
@@ -86,8 +86,8 @@ struct session_counter
uint64_t udp_overload_evict_new_sess_num;
};
void session_manager_get_session_counter(struct session_manager *mgr, struct session_counter *out);
void session_manager_print_status(struct session_manager *mgr);
void session_manager_print_stat(struct session_manager *mgr);
void session_manager_get_stat(struct session_manager *mgr, struct session_manager_stat *out);
#ifdef __cpluscplus
}