28 #if !defined(__CA_LOG_PACKET_TIMES__)
29 #define __CA_LOG_PACKET_TIMES__
31 #ifndef ONLY_LOCAL_PROXY
36 #ifdef LOG_PACKET_TIMES
38 class CALogPacketStats
44 m_iLogIntervallInHalfMinutes=30;
55 m_iLogIntervallInHalfMinutes=minutes<<1;
62 UINT32 uType,
bool bUpstream);
63 SINT32 resetTimeingStats();
68 UINT32 m_iLogIntervallInHalfMinutes;
69 UINT32 m_timingMaxDataPacketUpstream,m_timingMaxDataPacketDownStream;
70 UINT32 m_timingMinDataPacketUpstream,m_timingMinDataPacketDownStream;
71 UINT32 m_timingCountDataPacketsUpstream,m_timingCountDataPacketsDownStream;
72 UINT64 m_timingSumDataPacketUpstream,m_timingSumDataPacketDownStream;
73 UINT32 m_timingMaxClosePacketUpstream;
74 UINT32 m_timingMinClosePacketUpstream;
75 UINT32 m_timingCountClosePacketsUpstream;
76 UINT64 m_timingSumClosePacketUpstream;
77 UINT32 m_timingMaxOpenPacketUpstream,m_timingMinOpenPacketUpstream;
78 UINT32 m_timingCountOpenPacketsUpstream;
79 UINT64 m_timingSumOpenPacketUpstream;
82 UINT32 m_timingMaxDataPacketUpstreamOP,m_timingMaxDataPacketDownStreamOP;
83 UINT32 m_timingMinDataPacketUpstreamOP,m_timingMinDataPacketDownStreamOP;
84 UINT64 m_timingSumDataPacketUpstreamOP,m_timingSumDataPacketDownStreamOP;
85 UINT32 m_timingMaxClosePacketUpstreamOP;
86 UINT32 m_timingMinClosePacketUpstreamOP;
87 UINT64 m_timingSumClosePacketUpstreamOP;
88 UINT32 m_timingMaxOpenPacketUpstreamOP,m_timingMinOpenPacketUpstreamOP;
89 UINT64 m_timingSumOpenPacketUpstreamOP;
92 UINT32 m_timingMaxPoolPacketUpstream,m_timingMaxPoolPacketDownStream;
93 UINT32 m_timingMinPoolPacketUpstream,m_timingMinPoolPacketDownStream;
94 UINT32 m_timingCountPoolPacketsUpstream;
95 UINT64 m_timingSumPoolPacketUpstream;
96 UINT32 m_timingCountPoolPacketsDownStream;
97 UINT64 m_timingSumPoolPacketDownStream;
100 volatile bool m_bRunLog;