| 129 | int32_t numDistinct; |
| 130 | |
| 131 | // The mode of the table. |
| 132 | BaseHashTable::HashMode hashMode; |
| 133 | |
| 134 | // Clocks for same operation with F14FastSet if applicable. |
| 135 | float f14ProbeClocks{-1}; |
| 136 | |
| 137 | std::string toString() const { |
| 138 | std::stringstream out; |
| 139 | out << params.toString(); |
| 140 | out << " hash/row=" << hashClocks << " probe clocks=" << probeClocks; |
| 141 | if (f14ProbeClocks != -1) { |
| 142 | out << " f14Probe=" << f14ProbeClocks << " (" |
| 143 | << (100 * f14ProbeClocks / probeClocks) << "%)"; |
| 144 | } |
| 145 | std::string modeString = hashMode == BaseHashTable::HashMode::kArray |
| 146 | ? "array" |
| 147 | : hashMode == BaseHashTable::HashMode::kHash ? "hash" |
| 148 | : "normalized key"; |
| 149 | out << std::endl |
no test coverage detected