Skip to content

Commit

Permalink
Ensure there is time for ethernet IO
Browse files Browse the repository at this point in the history
  • Loading branch information
mundya committed Jun 4, 2015
1 parent f55d97e commit 3157f85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nengo_spinnaker/simulator.py
Expand Up @@ -191,6 +191,7 @@ def _run_steps(self, steps):
run_time = time.time() - start_time

# If that step took less than timestep then spin
time.sleep(0.0001)
while run_time < host_steps * self.dt:
time.sleep(0.0001)
run_time = time.time() - start_time
Expand Down

0 comments on commit 3157f85

Please sign in to comment.