fixed a unit issue, and now latency metrics are reported in milliseconds