unsigned long long uint64_t
Cross-platform mutex interface for ascii-chat.
server_stats_t g_stats
Global server statistics structure.
void log_server_stats(void)
Log comprehensive server statistics summary.
void * stats_logger_thread(void *arg)
Main statistics collection and reporting thread function.
int stats_init(void)
Initialize the stats mutex.
mutex_t g_stats_mutex
Mutex protecting global server statistics.
void stats_cleanup(void)
Cleanup the stats mutex.
void update_server_stats(void)
Update global server statistics (placeholder)
Server performance statistics structure.