| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Owners-Override | +1 |
LGTM with comment
OO+1 for mechanical changes outside of //base to adapt to a //base API change
Follow-up:
```
const uint64_t private_pages = resident_pages - shared_pages;
return ByteSize(page_size) * private_pages + KiBU(swap_footprint_kb);
```
Reason: `private_pages` is expressed in pages, not bytes, so it shouldn't use the ByteSize or ByteSizeDelta type.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Convert remaining base/ API's to ByteSize
Converts the following API's to use ByteCount instead of ByteSize, and
updates all callers:
base::android::PmfUtils::GetPrivateMemoryFootprintForCurrentProcess
base::android::PreFreezeMetric::Measure
base::debug::ReadAndParseSmapsRollup
base::trace_event::GetTraceBufferSizeInBytes
base::trace_event::SetTraceBufferSizeInBytes
Also converts misc uses of ByteCount in .cc files to ByteSize.
With this, the only uses of ByteCount in base/ are
SysInfo::AmountOfPhysicalMemory(), which is marked deprecated
(AmountOfTotalPhysicalMemory() is the ByteSize alternative), and
UmaHistogramMemory functions that have ByteSize and ByteCount overloads.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |