Embedded Software Timing. Methodology, Analysis and Practical Tips with a Focus on Automotive