-
Notifications
You must be signed in to change notification settings - Fork 5
Statistics subsystem: new available statistics, plotting scripts, tests #74
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
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Also updated the textual report with the correct logged average logged state size. Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
This allows to use high resolution timers and meaningfully compare them to normal timer values Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
In the previous commit we added a new node wide value which is now properly documented Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
TODO: put actual testing logic inside of it! Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Documentation coverage is 69.9% 👍
|
This PR is a work in progress, things are missing and/or broken (we are still missing the full suite of python plotting scripts 😢 ). |
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Now we have two separate plotting scripts to plot single runs and multi runs statistics. Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Another possibility can be to have python tests, not necessarily using a python testing framework (if the number of python tests increases it can be introduced). We can launch these python tests directly from ctest:
From there, we could import the various functions from the scripts and test them. This does not test the generation-parsing interaction. In that case we could call the simple model from python (using some |
Unfortunately |
I don't see any major problem in bumping the CMake version to 3.12 though, because we are anyhow planning to package everything on our side. In this case, having a "newer" dependency is less critical if we can directly provide binaries. Regarding the test dependency, that's the solution I like the most. I couldn't check this feature's availability (again, luckily, I'm not the CMake expert! 😄). |
The only issue in bumping the version to 3.12 is that Ubuntu 18 LTS ships with CMake version 3.10. Yeah, not a big issue. If you agree, we will bump CMake version to 3.12! |
Codecov Report
@@ Coverage Diff @@
## develop #74 +/- ##
===========================================
+ Coverage 84.93% 85.44% +0.51%
===========================================
Files 46 46
Lines 2131 2158 +27
Branches 56 55 -1
===========================================
+ Hits 1810 1844 +34
+ Misses 298 293 -5
+ Partials 23 21 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Documentation coverage is 69.0% 👍
|
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Documentation coverage is 68.8% 👍
|
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Documentation coverage is 68.8% 👍
|
Documentation coverage is 69.4% 👍
|
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Documentation coverage is 69.4% 👍
|
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Documentation coverage is 71.8% 👍
|
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Documentation coverage is 71.9% 👍
|
Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Documentation coverage is 71.9% 👍
|
Implemented a new ROOT-Sim API that allows to interrupt a currently running simulation Also fixed a bug in the logging module initialization Criticism and suggestions are always welcome! Signed-off-by: Andrea Piccione <piccione@diag.uniroma1.it>
Documentation coverage is 71.8% 👍
|
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! Just one minor comment in the review.
Documentation coverage is 71.8% 👍
|
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.
Found 11 potential problems in the proposed changes. Check the Files changed tab for more details.
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.
Found 38 potential problems in the proposed changes. Check the Files changed tab for more details.
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.
Found 41 potential problems in the proposed changes. Check the Files changed tab for more details.
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.
Found 68 potential problems in the proposed changes. Check the Files changed tab for more details.
This PR aims at improving the usability and the capabilities of the statistics subsystem used to take internal measurements of the simulator behaviour. In particular: