Searched defs:pSendStats (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/ValidationKit/utils/network/
H A DNetPerf.cpp460 * @param pSendStats Send stats.
464 static void netperfPrintThroughputStats(NETPERFSTATS const *pSendStats, NETPERFSTATS const *pRecvStats, uint32_t cbPacket) argument
468 if (pSendStats)
470 double rdSecElapsed = (double)pSendStats->cNsElapsed / 1000000000.0;
471 RTTestIValue("Sends", pSendStats->cTx, RTTESTUNIT_PACKETS);
472 RTTestIValue("Send Interval", pSendStats->cNsElapsed, RTTESTUNIT_NS);
473 RTTestIValue("Send Throughput", (uint64_t)(cbPacket * pSendStats->cTx / rdSecElapsed), RTTESTUNIT_BYTES_PER_SEC);
474 RTTestIValue("Send Rate", (uint64_t)(pSendStats->cTx / rdSecElapsed), RTTESTUNIT_PACKETS_PER_SEC);
475 RTTestIValue("Send Latency", (uint64_t)(rdSecElapsed / pSendStats->cTx * 1000000000.0), RTTESTUNIT_NS_PER_PACKET);
495 * @param pSendStats Wher
497 netperfTCPThroughputSend(NETPERFPARAMS const *pParams, NETPERFHDR *pBuf, NETPERFSTATS *pSendStats) argument
[all...]

Completed in 1167 milliseconds