Fix latency calculation am: 0871db4b68

Original change: https://googleplex-android-review.googlesource.com/c/device/generic/goldfish/+/19369091

Change-Id: Ib8453b900a9d26e6c9bd8e5858c5192f0db4e22f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>