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

Method reorder_free

src/core/impl/utils/mempool.cpp:50–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void MemPoolStorage::reorder_free() {
51 std::sort(m_free.begin(), m_free.end());
52}
53
54void MemPoolStorage::clear() {
55 m_cur_buf_pos = m_cur_buf_size_bytes = 0;

Callers 1

init_seqMethod · 0.45

Calls 3

sortFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected