MCPcopy Create free account
hub / github.com/argotorg/solidity / gatherStats

Method gatherStats

tools/yulPhaser/ProgramCache.cpp:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124CacheStats ProgramCache::gatherStats() const
125{
126 return {
127 /* hits = */ m_hits,
128 /* misses = */ m_misses,
129 /* totalCodeSize = */ calculateTotalCachedCodeSize(),
130 /* roundEntryCounts = */ countRoundEntries(),
131 };
132}
133
134std::size_t ProgramCache::calculateTotalCachedCodeSize() const
135{

Callers 3

printCacheStatsMethod · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected