Searched refs:pongs (Results 1 – 4 of 4) sorted by relevance
32 int pongs; member69 pinger->pongs / (TIME / 1000)); in pinger_close_cb()72 completed_pings += pinger->pongs; in pinger_close_cb()105 pinger->pongs++; in pinger_read_cb()124 pinger->pongs = 0; in udp_pinger_new()
44 unsigned pongs; member72 ASSERT_EQ(NUM_PINGS, pinger->pongs); in pinger_on_close()148 printf("PONG %d\n", pinger->pongs); in pinger_read_cb()149 pinger->pongs++; in pinger_read_cb()151 if (pinger->pongs < NUM_PINGS) { in pinger_read_cb()226 pinger->pongs = 0; in tcp_pinger_v6_new()257 pinger->pongs = 0; in tcp_pinger_new()286 pinger->pongs = 0; in pipe_pinger_new()313 pinger->pongs = 0; in socketpair_pinger_new()365 pinger->pongs = 0; in pipe2_pinger_new()
33 int pongs; member83 fprintf(stderr, "ping_pongs: %d roundtrips/s\n", (1000 * pinger->pongs) / TIME); in pinger_close_cb()150 pinger->pongs++; in pinger_read_cb()189 pinger->pongs = 0; in pinger_new()
510 test/benchmark-ping-pongs.c
Completed in 9 milliseconds