MCPcopy Create free account
hub / github.com/dhbloo/rapfi / speedText

Function speedText

Rapfi/core/utils.cpp:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119std::string speedText(uint64_t nodesPerSecond)
120{
121 if (nodesPerSecond < 100000)
122 return std::to_string(nodesPerSecond);
123 else if (nodesPerSecond < 100000000)
124 return std::to_string(nodesPerSecond / 1000) + "K";
125 else
126 return std::to_string(nodesPerSecond / 1000000) + "M";
127}
128
129// -------------------------------------------------
130

Callers 2

printRootMovesMethod · 0.85
printSearchEndsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected