ocfs2/cluster: Track process message timing stats for each socket

Tracks total time taken to process messages received on a socket.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
This commit is contained in:
Sunil Mushran
2010-12-22 12:39:41 -08:00
committed by Joel Becker
parent 3c193b3807
commit e453039f8b
2 changed files with 17 additions and 0 deletions

View File

@@ -184,6 +184,8 @@ struct o2net_sock_container {
ktime_t sc_tv_send_total;
ktime_t sc_tv_status_total;
u32 sc_send_count;
u32 sc_recv_count;
ktime_t sc_tv_process_total;
#endif
struct mutex sc_send_lock;
};