[PATCH 9/9] util: Use 'long' to represent millisecond durations