MCPcopy Create free account
hub / github.com/BirolLab/abyss / printLoad

Method printLoad

Assembly/DBG.h:267–274  ·  view source on GitHub ↗

Print the load of the hash table. */

Source from the content-addressed store, hash-verified

265
266/** Print the load of the hash table. */
267void printLoad() const
268{
269 size_t size = m_data.size();
270 size_t buckets = m_data.bucket_count();
271 logger(1) << "Hash load: " << size << " / " << buckets << " = "
272 << std::setprecision(3) << (float)size / buckets
273 << " using " << toSI(getMemoryUsage()) << "B" << std::endl;
274}
275
276private:
277

Callers 2

loadKmerFunction · 0.45
loadSequencesFunction · 0.45

Calls 4

toSIFunction · 0.85
getMemoryUsageFunction · 0.85
bucket_countMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected