-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store thread local time series shared_ptr in key holder
Summary: Every add operation for Dynamic time-series includes two hashtable lookups: `coutres[cache[(keys, ...)]]` In this diff we are adding an option to add custom fields into cached keys and store thread local timer wrapper in it to avoid second lookup. Reviewed By: DenisYaroshevskiy Differential Revision: D50507552 fbshipit-source-id: df8fd908e8c744b55ce8598529ec11d179e2b898
- Loading branch information
1 parent
70f8be2
commit ce337e3
Showing
1 changed file
with
61 additions
and
16 deletions.
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