End-to-end latency characterization of task communication models for automotive systems