def run_then_pause(self, budget):

        assert not self._terminated

        position = self._elapsed + budget

        logger.detail(
            "moving %s run to %.0f of %.0f (from %.0f)",
            self._run.solver,
            position,
            self._run.cost,
            self._elapsed,
            )

        if position >= self._run.cost:
            borg.get_accountant().charge_cpu(self._run.cost - self._elapsed)

            self._elapsed = self._run.cost
            self._terminated = True

            return self._run.success
        else:
            borg.get_accountant().charge_cpu(budget)

            self._elapsed = position

            return None
Export a CSV of records as a stream.
dataset/ETHPy150Open borg-project/borg/borg/fake.py/FakeSolverProcess.run_then_pause--crossover with--dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/base.py/BaseModelView._export_csv