• Home
  • Raw
  • Download

Lines Matching refs:irp

2360     struct iperf_interval_results *irp;  in add_to_interval_list()  local
2362 irp = (struct iperf_interval_results *) malloc(sizeof(struct iperf_interval_results)); in add_to_interval_list()
2363 memcpy(irp, new, sizeof(struct iperf_interval_results)); in add_to_interval_list()
2364 TAILQ_INSERT_TAIL(&rp->interval_results, irp, irlistentries); in add_to_interval_list()
2883 struct iperf_interval_results *irp, temp; in iperf_stats_callback() local
2895 irp = TAILQ_LAST(&rp->interval_results, irlisthead); in iperf_stats_callback()
2897 if ( irp != NULL ) /* not the 1st interval */ in iperf_stats_callback()
2936 if (irp == NULL) { in iperf_stats_callback()
2941 temp.interval_packet_count = sp->packet_count - irp->packet_count; in iperf_stats_callback()
2942 temp.interval_outoforder_packets = sp->outoforder_packets - irp->outoforder_packets; in iperf_stats_callback()
2943 temp.interval_cnt_error = sp->cnt_error - irp->cnt_error; in iperf_stats_callback()
2970 struct iperf_interval_results *irp; in iperf_print_intermediate() local
2993 irp = TAILQ_LAST(&sp->result->interval_results, irlisthead); in iperf_print_intermediate()
2994 if (irp) { in iperf_print_intermediate()
2995 iperf_time_diff(&irp->interval_start_time, &irp->interval_end_time, &temp_time); in iperf_print_intermediate()
2998 printf("interval_len %f bytes_transferred %" PRIu64 "\n", interval_len, irp->bytes_transferred); in iperf_print_intermediate()
3007 irp->bytes_transferred > 0) { in iperf_print_intermediate()
3087 irp = TAILQ_LAST(&sp->result->interval_results, irlisthead); in iperf_print_intermediate()
3088 if (irp == NULL) { in iperf_print_intermediate()
3093 bytes += irp->bytes_transferred; in iperf_print_intermediate()
3096 retransmits += irp->interval_retrans; in iperf_print_intermediate()
3099 total_packets += irp->interval_packet_count; in iperf_print_intermediate()
3100 lost_packets += irp->interval_cnt_error; in iperf_print_intermediate()
3101 avg_jitter += irp->jitter; in iperf_print_intermediate()
3111irp = TAILQ_LAST(&sp->result->interval_results, irlisthead); /* use 1st stream for timing info … in iperf_print_intermediate()
3114 bandwidth = (double) bytes / (double) irp->interval_duration; in iperf_print_intermediate()
3117 iperf_time_diff(&sp->result->start_time,&irp->interval_start_time, &temp_time); in iperf_print_intermediate()
3119 iperf_time_diff(&sp->result->start_time,&irp->interval_end_time, &temp_time); in iperf_print_intermediate()
3125 …_time, (double) end_time, (double) irp->interval_duration, (int64_t) bytes, bandwidth * 8, (int64_… in iperf_print_intermediate()
3127 …um_bw_retrans_format, mbuf, start_time, end_time, ubuf, nbuf, retransmits, irp->omitted?report_omi… in iperf_print_intermediate()
3131 … omitted: %b sender: %b", (double) start_time, (double) end_time, (double) irp->interval_duration,… in iperf_print_intermediate()
3139 … omitted: %b sender: %b", (double) start_time, (double) end_time, (double) irp->interval_duration,… in iperf_print_intermediate()
3151 … omitted: %b sender: %b", (double) start_time, (double) end_time, (double) irp->interval_duration,… in iperf_print_intermediate()
3696 struct iperf_interval_results *irp = NULL; in print_interval_results() local
3706 irp = TAILQ_LAST(&sp->result->interval_results, irlisthead); /* get last entry in linked list */ in print_interval_results()
3707 if (irp == NULL) { in print_interval_results()
3718 if (iperf_time_compare(&sp->result->start_time, &irp->interval_start_time) == 0) { in print_interval_results()
3747 unit_snprintf(ubuf, UNIT_LEN, (double) (irp->bytes_transferred), 'A'); in print_interval_results()
3748 if (irp->interval_duration > 0.0) { in print_interval_results()
3749 bandwidth = (double) irp->bytes_transferred / (double) irp->interval_duration; in print_interval_results()
3756 iperf_time_diff(&sp->result->start_time, &irp->interval_start_time, &temp_time); in print_interval_results()
3758 iperf_time_diff(&sp->result->start_time, &irp->interval_end_time, &temp_time); in print_interval_results()
3765irp->interval_duration, (int64_t) irp->bytes_transferred, bandwidth * 8, (int64_t) irp->interval_r… in print_interval_results()
3767 unit_snprintf(cbuf, UNIT_LEN, irp->snd_cwnd, 'A'); in print_interval_results()
3768 …_retrans_cwnd_format, sp->socket, mbuf, st, et, ubuf, nbuf, irp->interval_retrans, cbuf, irp->omit… in print_interval_results()
3773 …t, (double) st, (double) et, (double) irp->interval_duration, (int64_t) irp->bytes_transferred, ba… in print_interval_results()
3775 …iperf_printf(test, report_bw_format, sp->socket, mbuf, st, et, ubuf, nbuf, irp->omitted?report_omi… in print_interval_results()
3781 …uble) et, (double) irp->interval_duration, (int64_t) irp->bytes_transferred, bandwidth * 8, (int64… in print_interval_results()
3783 …p_sender_format, sp->socket, mbuf, st, et, ubuf, nbuf, zbuf, irp->interval_packet_count, irp->omit… in print_interval_results()
3785 if (irp->interval_packet_count > 0) { in print_interval_results()
3786 lost_percent = 100.0 * irp->interval_cnt_error / irp->interval_packet_count; in print_interval_results()
3792irp->interval_duration, (int64_t) irp->bytes_transferred, bandwidth * 8, (double) irp->jitter * 10… in print_interval_results()
3794 …et, mbuf, st, et, ubuf, nbuf, irp->jitter * 1000.0, irp->interval_cnt_error, irp->interval_packet_… in print_interval_results()
3806 struct iperf_interval_results *irp, *nirp; in iperf_free_stream() local
3813 for (irp = TAILQ_FIRST(&sp->result->interval_results); irp != NULL; irp = nirp) { in iperf_free_stream()
3814 nirp = TAILQ_NEXT(irp, irlistentries); in iperf_free_stream()
3815 free(irp); in iperf_free_stream()