def _estimate_cpu_utilization(self):
        now = time.time()
        if now - self._last_cpu_check >= 0.5:
            try:
                self._last_cpu_usage = psutil.cpu_percent()
                self._last_cpu_check = now
            except (psutil.NoSuchProcess, ZeroDivisionError):
                pass  # psutil sometimes produces ZeroDivisionErrors, has been fixed in newer
                # Versions but we want to support older as well
        return self._last_cpu_usage
Gets the output script to which to send any remaining change.
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py/Environment._estimate_cpu_utilization--crossover with--dataset/ETHPy150Open OpenAssets/openassets/openassets/transactions.py/TransferParameters.change_script