added queue latency statistic
testing to be deleted