New PTL method to run a sched cycle to completion

Hi,

I’m proposing adding a new PTL method called ‘run_sched_cycle’ which will reliably trigger a new sched cycle and only return after the cycle has finished. The method will look as follows:

def run_sched_cycle(sched=“default”)

where ‘sched’ arg can be used to specify which scheduler to kick a cycle for.

the method will also return a tuple of (start,end) timestamps of the sched cycle, this can be used further by tests to do log matches for that sched cycle.

Please let me know if you have any concerns/feedback.