Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to avoid issues of wrap around of timer #539

Merged
merged 10 commits into from Feb 12, 2019

Conversation

rowleya
Copy link
Member

@rowleya rowleya commented Aug 9, 2018

This should avoid additional delays when the timer tick is close to over-running (or has overrun). It could create dropped packets in those circumstances (but then we are supposed to avoid those circumstances anyway).

@rowleya
Copy link
Member Author

rowleya commented Aug 9, 2018

This could do with testing on any known error cases where the timer has wrapped in the past...

@coveralls
Copy link

coveralls commented Aug 9, 2018

Pull Request Test Coverage Report for Build 4106

  • 6 of 23 (26.09%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.05%) to 51.144%

Changes Missing Coverage Covered Lines Changed/Added Lines %
spynnaker/pyNN/models/neuron/abstract_population_vertex.py 4 8 50.0%
spynnaker/pyNN/models/utility_models/delay_extension_vertex.py 1 7 14.29%
spynnaker/pyNN/models/spike_source/spike_source_poisson_vertex.py 1 8 12.5%
Totals Coverage Status
Change from base Build 4098: -0.05%
Covered Lines: 4983
Relevant Lines: 9743

💛 - Coveralls

@Christian-B
Copy link
Member

conflict need fixing

fix_delay_between_spikes

Conflicts:
	neural_modelling/src/neuron/c_main.c
	neural_modelling/src/neuron/neuron.c
	neural_modelling/src/neuron/neuron.h
	spynnaker/pyNN/models/spike_source/spike_source_poisson.py
@andrewgait
Copy link
Contributor

Have updated this against current master and it certainly seems to fix the problems I've been seeing recently with timer tick callback warnings following multiple (serial) runs.

Also worth noting that this doesn't seem to help with the issues of timer tick callback warnings that are currently present when running the Sudoku script.

Probably also worth testing against other cases where these warnings have been known to happen in the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants