MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / isAtFullLoad

Function isAtFullLoad

src/keydb-diagnostic-tool.cpp:839–841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837}
838
839bool isAtFullLoad(double cpuPercent, unsigned int threads) {
840 return cpuPercent / threads >= 96;
841}
842
843int main(int argc, const char **argv) {
844 int i;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected