-
Notifications
You must be signed in to change notification settings - Fork 5.9k
【Allocator】Add compact func #76223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Allocator】Add compact func #76223
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #76223 +/- ##
==========================================
Coverage ? 91.66%
==========================================
Files ? 7
Lines ? 24
Branches ? 0
==========================================
Hits ? 22
Misses ? 2
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fe9bf9c to
0079c0e
Compare
| } | ||
|
|
||
| uint64_t Release(const phi::Place& place) { return ReleaseImpl(place); } | ||
| size_t Compact(const phi::Place& place) { return CompactImpl(place); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议加些注释说明
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,我下面也在这个基类上加上注释说明(已有注释在更外层的接口上)
* add compact func * fix ut * fix ci * add ut * fix ci * fix ci * fix ci * fix ci * fix ci * fix ci
PR Category
Performance Optimization
PR Types
New features
Description
Allocator增加Compact接口,用来执行碎片整理
Pcard-67164