| 117 | } |
| 118 | |
| 119 | std::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 |
no outgoing calls
no test coverage detected