MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / dump_cache

Method dump_cache

src/core/impl/utils/infile_persistent_cache.cpp:175–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void InFilePersistentCache::dump_cache(const char* path) {
176 OutputFile out_file(path);
177 dump_cache(&out_file);
178}
179
180void InFilePersistentCache::dump_cache(OutputFile* out_file) {
181 uint32_t nr_category = m_cache.size();

Callers

nothing calls this directly

Calls 9

resizeMethod · 0.80
sizeMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45
write_to_fileMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected