Searched refs:NUM_PINGS (Results 1 – 3 of 3) sorted by relevance
28 #define NUM_PINGS (1000 * 1000) macro50 if (ctx->worker_sent >= NUM_PINGS) in worker_async_cb()62 if (ctx->main_sent >= NUM_PINGS) in main_async_cb()107 ASSERT_EQ(ctx->worker_sent, NUM_PINGS); in test_async()108 ASSERT_EQ(ctx->worker_seen, NUM_PINGS); in test_async()109 ASSERT_EQ(ctx->main_sent, (unsigned int) NUM_PINGS); in test_async()110 ASSERT_EQ(ctx->main_seen, (unsigned int) NUM_PINGS); in test_async()116 fmt(&fmtbuf, NUM_PINGS / (time / 1e9))); in test_async()
28 #define NUM_PINGS (1000 * 1000) macro40 if (++callbacks == NUM_PINGS) { in async_cb()
32 #define NUM_PINGS 100 /* fewer pings to avoid timeout */ macro34 #define NUM_PINGS 1000 macro72 ASSERT_EQ(NUM_PINGS, pinger->pongs); in pinger_on_close()151 if (pinger->pongs < NUM_PINGS) { in pinger_read_cb()
Completed in 9 milliseconds