Add functionality to log control packet latency