sample flow latency
include optional calculation of sampling line latency