81 codecType, codecName, level, key, counterType);
83 DCHECK(!initialize_.hasAllocatedMemory());
103 return static_cast<bool>(increment_);
110 increment_ = initialize_();
115 bool initialized_{
false};
std::atomic< int64_t > sum(0)
void operator+=(double sum)
—— Concurrent Priority Queue Implementation ——
folly::Function< void(double)> increment_
FOLLY_ATTR_WEAK folly::Function< void(double)> makeCompressionCounterHandler(folly::io::CodecType, folly::StringPiece, folly::Optional< int >, CompressionCounterKey, CompressionCounterType)
Wrapper around the makeCompressionCounterHandler() extension point.
CompressionCounter(folly::io::CodecType codecType, folly::StringPiece codecName, folly::Optional< int > level, CompressionCounterKey key, CompressionCounterType counterType)