MCPcopy Create free account
hub / github.com/bytedance/bolt / toString

Method toString

bolt/exec/benchmarks/HashTableBenchmark.cpp:131–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 6

makeDataMethod · 0.45
mainFunction · 0.45
GatherCopyParamMethod · 0.45
sortByAndPrintMaxFunction · 0.45
runBenchmarksFunction · 0.45
RowEqualVectorsMethod · 0.45

Calls 1

strMethod · 0.80

Tested by

no test coverage detected