-
Notifications
You must be signed in to change notification settings - Fork 277
String container stats from the VSD branch #5204
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
f2f8e28
to
a34fecd
Compare
src/util/memory_units.h
Outdated
#include <cstddef> | ||
#include <string> | ||
|
||
struct memory_sizet |
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.
class ?
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.
Sure, why not?
src/util/memory_units.cpp
Outdated
@@ -80,7 +80,7 @@ std::string memory_sizet::to_string() const | |||
{ | |||
out << ' '; | |||
} | |||
out << kib << si_kibitye_symbol; | |||
out << kib << si_kibibyte_symbol; |
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.
memory_unit changes should be in previous commit
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.
Refactored and sqashed.
src/util/Makefile
Outdated
@@ -45,6 +45,7 @@ SRC = allocate_objects.cpp \ | |||
mathematical_expr.cpp \ | |||
mathematical_types.cpp \ | |||
memory_info.cpp \ | |||
memory_units.cpp \ |
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.
squash with initial memory_units commit
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.
Squashed.
src/util/memory_units.cpp
Outdated
@@ -1,3 +1,11 @@ | |||
/*******************************************************************\ | |||
|
|||
Module: Memory units |
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.
Squash
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.
Squashed
a34fecd
to
3209bd8
Compare
All review comments resolved. |
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: 3209bd8).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/140864409
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.
I’m OK with this per se, but it doesn’t seem to be used anywhere at the moment?
@hannes-steffenhagen-diffblue It is used in the fifth VSD patch which is still to be PR'd. I wanted to get the foundations reviewed and ready first. |
3209bd8
to
9d0c0f3
Compare
Codecov Report
@@ Coverage Diff @@
## develop #5204 +/- ##
===========================================
- Coverage 68.25% 68.20% -0.05%
===========================================
Files 1180 1181 +1
Lines 97722 97786 +64
===========================================
Hits 66698 66698
- Misses 31024 31088 +64
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
dfbb67a
to
2f77994
Compare
aa59faf
to
f6c8f14
Compare
f6c8f14
to
5f2bca7
Compare
5f2bca7
to
6ee69aa
Compare
6ee69aa
to
b8bef97
Compare
b8bef97
to
228b9dd
Compare
Like #5202 and #5203 this is taken from the variable-sensitivity-domain branch and split out as separate commits.