log the sampled latency