Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
50
void MemPoolStorage::reorder_free() {
51
std::sort(m_free.begin(), m_free.end());
52
}
53
54
void MemPoolStorage::clear() {
55
m_cur_buf_pos = m_cur_buf_size_bytes = 0;
Callers
1
init_seq
Method · 0.45
Calls
3
sort
Function · 0.85
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected