def cycle_results(self, overrun_secs):
        """Yield the results from a run of all the jobs.

        If overrun_secs elapse and max_overrunnable is nonzero then jobs may be
        left to run in the background.

        The results from these 'overrun' jobs will be yielded in subsequent
        calls to 'cycle_results' or 'finish_results'.

        Jobs which are currently overrunning will not be started again until
        the overrun job has finished.

        :overrun_secs: seconds to wait before considering leaving jobs behind
        :yields: an (index, result) tuple

        """

        # make a timer out of the overrun_secs and pass to _cycle_results
        timer = phlsys_timer.Timer()
        timer.start()

        def overrun_condition():
            return overrun_secs >= timer.duration

        for index, result in self._cycle_results(overrun_condition):
            yield index, result
dataset/ETHPy150Open bloomberg/phabricator-tools/py/phl/phlmp_cyclingpool.py/CyclingPool.cycle_results/swapped operands of `>=`