Changeset 1264
- Timestamp:
- May 11, 2007 10:36:40 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r1242 r1264 1633 1633 const char *dir; 1634 1634 char last_update[64]; 1635 char packets[32], bytes[32], ipbytes[32], avg_bps[32] ;1635 char packets[32], bytes[32], ipbytes[32], avg_bps[32], avg_ipbps[32]; 1636 1636 pj_time_val media_duration, now; 1637 1637 … … 1686 1686 len = pj_ansi_snprintf(p, end-p, 1687 1687 "%s RX pt=%d, stat last update: %s\n" 1688 "%s total %spkt %sB (%sB +IP hdr) @avg=%sbps \n"1688 "%s total %spkt %sB (%sB +IP hdr) @avg=%sbps/%sbps\n" 1689 1689 "%s pkt loss=%d (%3.1f%%), dup=%d (%3.1f%%), reorder=%d (%3.1f%%)\n" 1690 1690 "%s (msec) min avg max last\n" … … 1696 1696 good_number(packets, stat.rx.pkt), 1697 1697 good_number(bytes, stat.rx.bytes), 1698 good_number(ipbytes, stat.rx.bytes + stat.rx.pkt * 32),1698 good_number(ipbytes, stat.rx.bytes + stat.rx.pkt * 40), 1699 1699 good_number(avg_bps, stat.rx.bytes * 8 * 1000 / PJ_TIME_VAL_MSEC(media_duration)), 1700 good_number(avg_ipbps, (stat.rx.bytes + stat.rx.pkt * 40) * 8 * 1000 / PJ_TIME_VAL_MSEC(media_duration)), 1700 1701 indent, 1701 1702 stat.rx.loss, … … 1741 1742 len = pj_ansi_snprintf(p, end-p, 1742 1743 "%s TX pt=%d, ptime=%dms, stat last update: %s\n" 1743 "%s total %spkt %sB (%sB +IP hdr) @avg %sbps \n"1744 "%s total %spkt %sB (%sB +IP hdr) @avg %sbps/%sbps\n" 1744 1745 "%s pkt loss=%d (%3.1f%%), dup=%d (%3.1f%%), reorder=%d (%3.1f%%)\n" 1745 1746 "%s (msec) min avg max last\n" … … 1755 1756 good_number(packets, stat.tx.pkt), 1756 1757 good_number(bytes, stat.tx.bytes), 1757 good_number(ipbytes, stat.tx.bytes + stat.tx.pkt * 32),1758 good_number(ipbytes, stat.tx.bytes + stat.tx.pkt * 40), 1758 1759 good_number(avg_bps, stat.tx.bytes * 8 * 1000 / PJ_TIME_VAL_MSEC(media_duration)), 1760 good_number(avg_ipbps, (stat.tx.bytes + stat.tx.pkt * 40) * 8 * 1000 / PJ_TIME_VAL_MSEC(media_duration)), 1759 1761 1760 1762 indent,
Note: See TracChangeset
for help on using the changeset viewer.