Home
last modified time | relevance | path

Searched refs:total_packets (Results 1 – 10 of 10) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c100 static unsigned int total_packets, total_bytes; variable
121 if (total_packets % 10 == 0) { in status_bar_update()
241 while (total_packets < NUM_PACKETS * 2) { in walk_v1_v2_rx()
261 total_packets++; in walk_v1_v2_rx()
273 if (total_packets != 2 * NUM_PACKETS) { in walk_v1_v2_rx()
275 ring->version, total_packets, NUM_PACKETS); in walk_v1_v2_rx()
419 total_packets = NUM_PACKETS; in walk_tx()
422 while (total_packets > 0) { in walk_tx()
426 total_packets > 0) { in walk_tx()
465 total_packets--; in walk_tx()
[all …]
/external/webrtc/logging/rtc_event_log/events/
Drtc_event_bwe_update_loss_based.cc19 int32_t total_packets) in RtcEventBweUpdateLossBased() argument
22 total_packets_(total_packets) {} in RtcEventBweUpdateLossBased()
Drtc_event_bwe_update_loss_based.h37 int32_t total_packets() const { return total_packets_; } in total_packets() function
/external/iperf3/src/
Diperf_api.c3070 int total_packets = 0, lost_packets = 0; in iperf_print_intermediate() local
3099 total_packets += irp->interval_packet_count; in iperf_print_intermediate()
3139 …le) irp->interval_duration, (int64_t) bytes, bandwidth * 8, (int64_t) total_packets, test->omittin… in iperf_print_intermediate()
3141 …m_bw_udp_sender_format, mbuf, start_time, end_time, ubuf, nbuf, zbuf, total_packets, test->omittin… in iperf_print_intermediate()
3144 if (total_packets > 0) { in iperf_print_intermediate()
3145 lost_percent = 100.0 * lost_packets / total_packets; in iperf_print_intermediate()
3151 … * 8, (double) avg_jitter * 1000.0, (int64_t) lost_packets, (int64_t) total_packets, (double) lost… in iperf_print_intermediate()
3153 … start_time, end_time, ubuf, nbuf, avg_jitter * 1000.0, lost_packets, total_packets, lost_percent,… in iperf_print_intermediate()
3233 int total_packets = 0, lost_packets = 0; in iperf_print_results() local
3332 total_packets += (packet_count - sp->omitted_packet_count); in iperf_print_results()
[all …]
/external/webrtc/logging/rtc_event_log/
Drtc_event_log.proto139 // computed as floor( 256 * (#lost_packets / #total_packets) ).
145 optional int32 total_packets = 3; field
Drtc_event_log_unittest_helper.cc130 int32_t total_packets = prng_.Rand(1, kMaxPackets); in NewBweUpdateLossBased() local
133 bitrate_bps, fraction_lost, total_packets); in NewBweUpdateLossBased()
794 EXPECT_EQ(original_event.total_packets(), logged_event.expected_packets); in VerifyLoggedBweLossBasedUpdate()
Drtc_event_log2.proto312 // computed as floor( 256 * (#lost_packets / #total_packets) ).
319 optional uint32 total_packets = 4; field
Drtc_event_log_parser.cc1835 bwe_update.expected_packets = loss_event.total_packets(); in GetLossBasedBweUpdate()
2597 proto.total_packets()); in StoreBweLossBasedUpdate()
2623 proto.total_packets_deltas(), proto.total_packets(), number_of_deltas); in StoreBweLossBasedUpdate()
2648 const uint32_t total_packets = in StoreBweLossBasedUpdate() local
2652 fraction_loss, total_packets); in StoreBweLossBasedUpdate()
/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_new_format.cc1208 proto_batch->set_total_packets(base_event->total_packets()); in EncodeBweUpdateLossBased()
1251 values[i] = event->total_packets(); in EncodeBweUpdateLossBased()
1253 encoded_deltas = EncodeDeltas(base_event->total_packets(), values); in EncodeBweUpdateLossBased()
Drtc_event_log_encoder_legacy.cc493 bwe_event->set_total_packets(event.total_packets()); in EncodeBweUpdateLossBased()