common: C++ RateKeeper (#29374)

* c++ RateKeeper

* add to files_common

* use util::random_int

* improve monotor_time

* remove ~ratekeeper
old-commit-hash: 3eef63af9b4f4a25bc4c3a0d6ad450bba9f62205
This commit is contained in:
Dean Lee
2023-08-21 12:27:02 +08:00
committed by GitHub
parent bd27be2b78
commit 97631ec362
10 changed files with 97 additions and 23 deletions
+2
View File
@@ -162,6 +162,8 @@ common/clutil.cc
common/clutil.h
common/params.h
common/params.cc
common/ratekeeper.cc
common/ratekeeper.h
common/watchdog.cc
common/watchdog.h