add_sched_out_event
if (add_sched_out_event(out_events, prev_state, timestamp))
if (add_sched_out_event(in_events, 'R', timestamp))
if (add_sched_out_event(atoms, 'R', timestamp))
if (add_sched_out_event(atoms, 'S', timestamp))
if (add_sched_out_event(atoms, 'R', timestamp))