-
Notifications
You must be signed in to change notification settings - Fork 18
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
add reservoir timers #171
Open
maciuszek
wants to merge
35
commits into
master
Choose a base branch
from
mattkuzminski/add-timer-reservoir
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
add reservoir timers #171
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
72bc838
prototype a simple reservoir for timers
maciuszek f67aca4
clarify comment
maciuszek 5cc34d9
Move s.timerCount inside timer.Range
bshramin f7fc55e
fix test messages
maciuszek 4a0662a
fix spelling
maciuszek f35471d
Merge remote-tracking branch 'origin/master' into mattkuzminski/add-t…
maciuszek 57ef42b
re-design with timer reservoirs correctly independent per mertic
maciuszek 4610f55
add some more todos
maciuszek cc908b5
clean up redundant code
maciuszek b1a2def
some more clean up
maciuszek 8eb942d
address todos
maciuszek 5dd8757
fix comment
maciuszek 0d3fb45
ensure memory and flush management for timers
maciuszek ea5ae6a
optimize reservoirTimer by utilizing a ring buffer
maciuszek e81d603
correct how we flush reusable timer entries
maciuszek 74a26a1
add test for reused timer map after flushing
maciuszek 6d2687c
correct the ring buffer implementation to utilize bitwise benefits
maciuszek d067744
improve reservoirTimer property access
maciuszek 7e5a451
make reservoir tests more dynamic
maciuszek a54db1a
improve comments
maciuszek 18c0e57
optimize reservoir timer flush
maciuszek bf0ef63
block never flush edge cases when stores are constructed outside of N…
maciuszek 8dad5ed
fix typo in comment
maciuszek 9762152
add test for reservoir automatic flushing
maciuszek 2641924
add test for concurrent reservoir writes and flushing
maciuszek 858a3fd
fix typo in comment
maciuszek 4e9611d
protect writes while flushing
maciuszek 70cc61c
dont export controls that can result in a deadlock or datarace
maciuszek b352a4f
add critical optimization todo
maciuszek ef8cf0b
simplify reservoir processing
maciuszek 8cceead
unexport RingSize and document immutability
maciuszek 4cae9ac
print to stdout for testing
maciuszek 7fe2893
improve test logging
maciuszek c2738fa
temporarily make logging a bit better at the sacrifice of performance
maciuszek 236e2cc
remove test logging
maciuszek 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 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 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 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
Oops, something went wrong.
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.
Note: this test change is out of scope of this work but it was previously volatile with the order of reserved_tag vs test.__host not being deterministic