MCPcopy Create free account
hub / github.com/SIPp/sipp / CStat

Class CStat

include/stat.hpp:63–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 */
62
63class CStat
64{
65 friend class ScreenPrinter;
66public:
67
68 std::vector<int> error_codes;
69
70 /*
71 * This struct is used for repartition table
72 * border max is the max value allow for this range
73 * nbInThisBorder is the counter of value in this range
74 */
75 typedef struct _T_dynamicalRepartition {
76 unsigned int borderMax;
77 unsigned long nbInThisBorder;
78 } T_dynamicalRepartition;
79
80 typedef struct _T_value_rtt {
81 double date ;
82 int rtd_no ;
83 double rtt ;
84 } T_value_rtt, *T_pValue_rtt ;
85
86 /**
87 * Actions on counters
88 */
89 enum E_Action {
90 E_NO_ACTION,
91 E_CREATE_OUTGOING_CALL,
92 E_CREATE_INCOMING_CALL,
93 E_CALL_FAILED,
94 E_CALL_SUCCESSFULLY_ENDED,
95 E_RESET_C_COUNTERS,
96 E_RESET_PD_COUNTERS,
97 E_RESET_PL_COUNTERS,
98 E_ADD_CALL_DURATION,
99 E_ADD_RESPONSE_TIME_DURATION,
100 E_FAILED_CANNOT_SEND_MSG,
101 E_FAILED_MAX_UDP_RETRANS,
102 E_FAILED_TCP_CONNECT,
103 E_FAILED_TCP_CLOSED,
104 E_FAILED_UNEXPECTED_MSG,
105 E_FAILED_CALL_REJECTED,
106 E_FAILED_CMD_NOT_SENT,
107 E_FAILED_REGEXP_DOESNT_MATCH,
108 E_FAILED_REGEXP_SHOULDNT_MATCH,
109 E_FAILED_REGEXP_HDR_NOT_FOUND,
110 E_FAILED_OUTBOUND_CONGESTION,
111 E_FAILED_TIMEOUT_ON_RECV,
112 E_FAILED_TIMEOUT_ON_SEND,
113 E_FAILED_TEST_DOESNT_MATCH,
114 E_FAILED_TEST_SHOULDNT_MATCH,
115 E_FAILED_STRCMP_DOESNT_MATCH,
116 E_FAILED_STRCMP_SHOULDNT_MATCH,
117 E_OUT_OF_CALL_MSGS,
118 E_WATCHDOG_MAJOR,
119 E_WATCHDOG_MINOR,
120 E_DEAD_CALL_MSGS,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected