sampleLatency property

bool sampleLatency
getter/setter pair

Whether to measure latencies for channel operations (tryRecv/recv/send). Latency sampling may have overhead but can be disabled if not needed.

Implementation

static bool sampleLatency = false;