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

Method sync

imperative/src/impl/persistent_cache.cpp:121–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 uint64_t m_timeout;
120
121 void sync() {
122 m_client.sync_commit<double, std::milli>(std::chrono::milliseconds(m_timeout));
123 mgb_assert(valid());
124 }
125};
126
127class ExtendedInFilePersistentCache final : public ExtendedPersistentCache {

Callers 12

init_tensorFunction · 0.45
init_commonFunction · 0.45
init_opsFunction · 0.45
runMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
run_graphFunction · 0.45
TESTFunction · 0.45
MGB_CATCHFunction · 0.45
~ProxyGraphImplMethod · 0.45

Calls

no outgoing calls

Tested by 7

runMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
run_graphFunction · 0.36
TESTFunction · 0.36