This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Print memory footprint of each mechanism #833
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
olupton
approved these changes
Jun 23, 2022
alexsavulescu
approved these changes
Jun 23, 2022
ohm314
approved these changes
Jun 24, 2022
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.
looks good!
e8b7a97
to
648746d
Compare
Co-authored-by: Olli Lupton <oliver.lupton@epfl.ch>
648746d
to
ec4ab93
Compare
Codecov Report
@@ Coverage Diff @@
## master #833 +/- ##
==========================================
+ Coverage 57.50% 57.56% +0.06%
==========================================
Files 101 101
Lines 9158 9190 +32
==========================================
+ Hits 5266 5290 +24
- Misses 3892 3900 +8
Continue to review full report at Codecov.
|
pramodk
approved these changes
Jun 30, 2022
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.
LGTM
pramodk
pushed a commit
to neuronsimulator/nrn
that referenced
this pull request
Nov 2, 2022
* Print each mechanism's size * Fix compilation with -DDEBUG * Improve the calculation of the total memory for each mechanism * Improved calculation of NrnThreadMembList Co-authored-by: Olli Lupton <oliver.lupton@epfl.ch> CoreNEURON Repo SHA: BlueBrain/CoreNeuron@0574812
iomaganaris
added a commit
that referenced
this pull request
Nov 17, 2022
* Print each mechanism's size * Fix compilation with -DDEBUG * Improve the calculation of the total memory for each mechanism * Improved calculation of NrnThreadMembList Co-authored-by: Olli Lupton <oliver.lupton@epfl.ch>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Report the size of the dynamically allocated memory for each mechanism based on the
ml->data
andml->pdata
structures.How to test this?
Building CoreNEURON and running the following test:
Has the following output:
Only issue is that with
NMODL
theNetStim
size ofnet_send
is128
instaed of0
.Test System