Worst-case execution-time analysis for embedded real-time systems