Measure performance of a YARP port. More...
#include <yarp/os/Ping.h>
Public Member Functions | |
Ping (const char *target=nullptr) | |
bool | setTarget (const char *target) |
void | connect () |
void | sample () |
void | clear () |
ConnectResult | getLastConnect () |
ConnectResult | getAverageConnect () |
void | report () |
Static Public Member Functions | |
static std::string | renderTime (double t, int space, int decimal) |
Measure performance of a YARP port.
Can also be partially used for non-YARP ports with a compatible protocol.
ConnectResult Ping::getAverageConnect | ( | ) |
ConnectResult Ping::getLastConnect | ( | ) |
|
static |