forked from ceph/dmclock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the calculations of rho and delta to be handled by a "tracker"
specified via template parameter (i.e., by static polymorphism). The tracker follows a simple interface constisting of three functions and one static function. Add a BorrowingTracker. Make it the default tracker. Add unit tests for it. Maintain the original calculations as the OrigTracker. Signed-off-by: J. Eric Ivancich <[email protected]>
- Loading branch information
Showing
4 changed files
with
219 additions
and
57 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
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.