A method of supervising a scheduler for processing time sharing management in a multitask data-processing system comprising a computation unit that executes a plurality of applications, an access time for the computation unit being determined by the scheduler for each application of the plurality of applications, according to at least two separate execution modes, including a standard execution mode and a preferred execution mode, the method comprising:
- dividing an execution time of the plurality of applications into a plurality of management periods;
- determining a first minimal access time per management period to the computation unit for at least one first application of the plurality of applications;
- and
- for at least one management period of the plurality of management periods:
- associating the preferred execution mode with the at least one first application, and executing the at least one first application according to at least the determined first minimal access time to the computation unit;
- associating the standard execution mode with the applications of the plurality of applications other than the at least one first application associated with the preferred execution mode, and executing any one of the applications of the plurality of applications other than the at least one first application associated with the preferred execution mode;
- and
- repeating said associating the preferred execution mode and said associating the standard execution mode, said repeating including switching association of the preferred execution mode from the at least one first application to one of the plurality of other applications, and associating the standard execution mode with all of the plurality of applications other than said one other application.