Changeset 619
- Timestamp:
- Jul 22, 2006 12:47:40 PM (18 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_tel_uri.c
r607 r619 165 165 status = pj_cis_dup(&pjsip_TEL_PARSING_PVALUE_SPEC_ESC, 166 166 &pjsip_TEL_PARSING_PVALUE_SPEC); 167 pj_cis_del_str(&pjsip_TEL_P VALUE_SPEC_ESC, "%");167 pj_cis_del_str(&pjsip_TEL_PARSING_PVALUE_SPEC_ESC, "%"); 168 168 169 169 status = pjsip_register_uri_parser("tel", &tel_uri_parse); -
pjproject/trunk/pjsip/src/test-pjsip/test.h
r613 r619 39 39 #define INCLUDE_MESSAGING_GROUP 1 40 40 #define INCLUDE_TRANSPORT_GROUP 1 41 #define INCLUDE_TSX_GROUP 141 #define INCLUDE_TSX_GROUP 0 42 42 43 43 /* -
pjproject/trunk/pjsip/src/test-pjsip/tsx_bench.c
r582 r619 32 32 pjsip_transaction **tsx; 33 33 pj_timestamp t1, t2, elapsed; 34 pjsip_via_hdr *via; 34 35 pj_status_t status; 35 36 … … 49 50 } 50 51 52 via = (pjsip_via_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_VIA, 53 NULL); 54 51 55 /* Create transaction array */ 52 56 tsx = pj_pool_zalloc(request->pool, working_set * sizeof(pj_pool_t*)); … … 62 66 if (status != PJ_SUCCESS) 63 67 goto on_error; 68 /* Reset branch param */ 69 via->branch_param.slen = 0; 64 70 } 65 71 pj_get_timestamp(&t2); … … 184 190 int tsx_bench(void) 185 191 { 186 enum { WORKING_SET= PJSIP_MAX_TSX_COUNT, REPEAT = 4 };192 enum { WORKING_SET=10000, REPEAT = 4 }; 187 193 unsigned i, speed; 188 194 pj_timestamp usec[REPEAT], min, freq;
Note: See TracChangeset
for help on using the changeset viewer.