1. A method for controlling an execution of a first direct memory access (DMA) task, the method comprises: monitoring an execution of the first DMA task; defining a first DMA task execution interval that is associated with the first DMA task, and a first DMA task execution sub-interval wherein the first DMA task execution sub-interval is a portion of the first DMA task execution interval; determining that the first DMA task was not completed within the first DMA task sub-interval; and indicating that a first timing violation is possible, in response to determining that the first DMA task was not completed within the first DMA task sub-interval, and before the first timing violation occurs, wherein the timing violation occurs if the first DMA task is not completed during the first DMA task execution interval.