Changeset 4537 for pjproject/trunk/pjsip/src/test/uri_test.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test/uri_test.c
r4210 r4537 1040 1040 unsigned cmp; 1041 1041 } run[COUNT]; 1042 unsigned i, max, avg_len; 1042 unsigned i, max; 1043 pj_ssize_t avg_len; 1043 1044 char desc[200]; 1044 1045 pj_status_t status; … … 1075 1076 "(tested with %d URI set, with average length of " 1076 1077 "%d chars)", 1077 (int)PJ_ARRAY_SIZE(uri_test_array), avg_len);1078 (int)PJ_ARRAY_SIZE(uri_test_array), (int)avg_len); 1078 1079 1079 1080 report_ival("uri-parse-per-sec", max, "URI/sec", desc); 1080 1081 1081 1082 /* URI parsing bandwidth */ 1082 report_ival("uri-parse-bandwidth-mb", avg_len*max/1000000, "MB/sec",1083 report_ival("uri-parse-bandwidth-mb", (int)avg_len*max/1000000, "MB/sec", 1083 1084 "URI parsing bandwidth in megabytes (number of megabytes " 1084 1085 "worth of URI that can be parsed per second)"); … … 1095 1096 "(tested with %d URI set, with average length of " 1096 1097 "%d chars)", 1097 (int)PJ_ARRAY_SIZE(uri_test_array), avg_len);1098 (int)PJ_ARRAY_SIZE(uri_test_array), (int)avg_len); 1098 1099 1099 1100 report_ival("uri-print-per-sec", max, "URI/sec", desc); … … 1109 1110 "(tested with %d URI set, with average length of " 1110 1111 "%d chars)", 1111 (int)PJ_ARRAY_SIZE(uri_test_array), avg_len);1112 (int)PJ_ARRAY_SIZE(uri_test_array), (int)avg_len); 1112 1113 1113 1114 report_ival("uri-cmp-per-sec", max, "URI/sec", desc);
Note: See TracChangeset
for help on using the changeset viewer.