Modified the system to measure latency in microseconds rather than milliseconds.