-
Notifications
You must be signed in to change notification settings - Fork 389
Add timers for NEST 2.14.1 #2063
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
Conversation
hakonsbm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The time_construction_create timer looks fine.
For time_construction_connect there should be timers in the ConnectLayer function in topologymodule.cpp to get connection-times for spatial connections.
There should also be timers for DataConnect. Note that there are two high-level functions for DataConnect in nestmodule.cpp.
And see below for some other comments.
|
Thanks for the review @hakonsbm. I added and changed the functionality as you suggested. Could you have a look again? |
hakonsbm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good to me now.
|
I ran some microcircuit benchmarks (10 s of model time) comparing the older custom version of the timers with the one from the PR for the time spent in the different phases during
|
jougs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Many thanks to everyone! @terhorstd: let me know when you're in the mood for a release 🐱 |

This PR adds timer functionality to NEST 2.14.1. The usage and functionality is similar to what is implemented in PR #1778 and addresses the issues raised in #1471.
These timers are implemented:
time_gather_spike_datatime_simulate(basic timer, always enabled)time_simulate:time_updatetime_gather_spike_datatime_gather_spike_data:time_collocate_spike_datatime_communicate_spike_datatime_deliver_spike_dataIn contrast to PR #1778, these timers are not implemented due to the infrastructure change:
time_communicate_prepare(basic timer, always enabled)time_communicate_prepare:time_gather_target_datatime_gather_target_data:time_communicate_target_dataI am not too familiar with the construction phases. Furthermore the order of collocate, communicate and delivery is different and I am not sure how this influences the
time_gather_spike_data. So besides the normal review process, I'd ask specifically for input for these parts:time_construction_create(basic timer, always enabled)time_construction_connect(basic timer, always enabled)time_gather_spike_data