proxygen
|
Public Member Functions | |
void | inc (int64_t val=1) |
int64_t | readFast () |
int64_t | readFull () |
Public Attributes | |
std::atomic< int64_t > | ints_ [kBuckets_] |
Static Public Attributes | |
static const int64_t | kBuckets_ = 2048 |
Definition at line 303 of file ThreadCachedIntTest.cpp.
|
inline |
Definition at line 307 of file ThreadCachedIntTest.cpp.
References folly::getCurrentThreadID(), folly::hash::twang_mix64(), and val.
|
inline |
Definition at line 313 of file ThreadCachedIntTest.cpp.
References FOR_EACH_RANGE, i, and int64_t.
Referenced by BENCHMARK().
|
inline |
Definition at line 323 of file ThreadCachedIntTest.cpp.
Referenced by BENCHMARK().
Definition at line 305 of file ThreadCachedIntTest.cpp.
|
static |
Definition at line 304 of file ThreadCachedIntTest.cpp.