Home
last modified time | relevance | path

Searched refs:numActiveProcessors_ (Results 1 – 3 of 3) sorted by relevance

/thrift-3.4.0/lib/cpp/src/thrift/server/
DTNonblockingServer.h183 size_t numActiveProcessors_; variable
285 numActiveProcessors_ = 0; in init()
454 size_t getNumActiveProcessors() const { return numActiveProcessors_; } in getNumActiveProcessors()
459 ++numActiveProcessors_; in incrementActiveProcessors()
465 if (numActiveProcessors_ > 0) { in decrementActiveProcessors()
466 --numActiveProcessors_; in decrementActiveProcessors()
DTNonblockingServer.cpp1046 if (numActiveProcessors_ > maxActiveProcessors_ || activeConnections > maxConnections_) { in serverOverloaded()
1052 if (overloaded_ && (numActiveProcessors_ <= overloadHysteresis_ * maxActiveProcessors_) in serverOverloaded()
/thrift-3.4.0/lib/d/src/thrift/server/
Dnonblocking.d224 return numActiveProcessors_; in numActiveProcessors()
471 atomicOp!"+="(numActiveProcessors_, 1); in incrementActiveProcessors()
476 assert(numActiveProcessors_ > 0); in decrementActiveProcessors()
477 atomicOp!"-="(numActiveProcessors_, 1); in decrementActiveProcessors()
492 if (numActiveProcessors_ > maxActiveProcessors || in checkOverloaded()
500 (numActiveProcessors_ <= overloadHysteresis_ * maxActiveProcessors) && in checkOverloaded()
549 shared size_t numActiveProcessors_; variable