Home
last modified time | relevance | path

Searched refs:pongs (Results 1 – 4 of 4) sorted by relevance

/libuv/test/
H A Dbenchmark-ping-udp.c32 int pongs; member
69 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()
H A Dtest-ping-pong.c44 unsigned pongs; member
72 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()
H A Dbenchmark-ping-pongs.c33 int pongs; member
83 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()
/libuv/
H A DCMakeLists.txt510 test/benchmark-ping-pongs.c

Completed in 25 milliseconds