start_section : end section; priority_section : put(tasks.period,0,1); if(simulation_time>15) then tasks.period(0):=20; tasks.deadline(0):=20; tasks.period(1):=10; tasks.deadline(1):=10; end if; end section; election_section : return min_to_index(tasks.period); end section;