Simulation-based end-to-end latency analysis of ADAS systems