-
Notifications
You must be signed in to change notification settings - Fork 355
fix "zero-time measurements" bug #867
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
Open
zooko
wants to merge
23
commits into
bheisler:master
Choose a base branch
from
zooko:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
34815ac
add a bunch of assertions that measurements are not zero, trying to t…
a867eeb
fix "zero-time measurements" bug
16926d8
add a couple of more asserts that measurements aren't 0 (or epsilon)
ae543cd
add another fix for measurements being 0 in a different place
1a0113e
add docstring
56edb08
interim commit (doesn't compile!)
8cef4c2
use the new "{varname}" format instead of "{}, varname" to make clippy
7fc5cce
Cargo.lock
fd8f7b0
inline a bunch more formatted variables
8c02527
bring the RDPTSCP measurement over from smalloc
cecd263
remove debug printout
a7e7359
fix MachAbsoluteTimer
a3065a3
fix clippies
f305d2e
bug fix: if mach_absolute_time returns the same number as the previou…
95d2353
add dep on rayon
64ec260
if estimate would return NaN due to dividing by 0, then instead divid…
a7d6fe5
make a unit test go from red to green, by checking if the measured ti…
94f4a92
follow-on to the previous patch. This adds the same behavior to every…
bca5938
make WallTime Measurement return 1 nanosecond if its elapsed time is …
02c0d07
make RDTSCP satisfy the "measurements must be greater than 0" require…
1aaee9f
add debug_asserts that the Measurement object satisfies the new contr…
01b895f
Do the same hack with elapsed_time that the recent patches do to Meas…
8321601
add assertions that there are not NaN's or Infinites in various float…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
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.
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.
Perhaps move the format_arg changes to a separate PR?