Cyclic task scheduling for multifunction radar