Add functions for decoders to return latency statistics