-
Notifications
You must be signed in to change notification settings - Fork 5.3k
stats: keep a set of ref-counted parent histograms in ThreadLocalStore so that two with the same name map to the same histogram object. #12275
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
a4a9474
keep a set of ref-counted parent histograms in ThreadLocalStore so th…
jmarantz 21ef5bd
Don't check for the histograms being in the set during shutdown.
jmarantz 84c3c4e
don't reference ParentHistogramImpl::parent_ after initiating shutdown.
jmarantz 9e09c8a
reorg tls cache for histograms.
jmarantz 13b5d1f
updated expected memory usage with rearranged tls storage.
jmarantz 2dbd0b6
add cleanup of tls-histograms, and testing of that.
jmarantz a9c38cf
Merge branch 'master' into hist-map
jmarantz 9f5f19d
factor out the metric hash/compare functions into metric_impl.h
jmarantz 202a16e
backout spelling additions.
jmarantz 8a62c23
minor cleanups
jmarantz 36daf1f
batch multiple histograms for clearing from the TLS cache.
jmarantz 3138b20
remove loop over histogram set, which won't work because during destr…
jmarantz 14f7720
Use a shared_ptr for the vector of histogram IDs rather tha explicitl…
jmarantz 3b1a55b
correct comment.
jmarantz 6d954f7
back out the batch clearing of histograms.
jmarantz e6e749e
add comment pointing to gist with patch to for bactching of histogram…
jmarantz b266421
review comments
jmarantz 4d43b97
add testcase.
jmarantz e572c9c
move numTlsHistograms to a testing peer class.
jmarantz 01e429a
add real thread test for histograms.
jmarantz 02065e0
Merge branch 'master' into hist-map
jmarantz 6481851
factor out mergeHistograms as a test-class helper.
jmarantz bd5e6ad
Merge branch 'master' into hist-map
jmarantz 660400d
Add more testing and doc for the updated histogram structures.
jmarantz 9d936b2
finish incomplete comment.
jmarantz 4060056
Merge branch 'master' into hist-map
jmarantz ef16ef7
Update expected stats memory values, but also re-comment-out the exac…
jmarantz 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
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.
Uh oh!
There was an error while loading. Please reload this page.