Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cocoa] ResourceUsageOverlay should query kernel for VM page size.
<https://webkit.org/b/151920> Reviewed by Andy Estes. Read the vm.pagesize sysctl to find the correct page size for memory usage calculations. This fixes broken math on systems that have different hw.pagesize and vm.pagesize. * page/cocoa/ResourceUsageOverlayCocoa.mm: (WebCore::vmPageSize): (WebCore::pagesPerVMTag): (WebCore::runSamplerThread): Canonical link: https://commits.webkit.org/170144@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@193757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing with 33 additions and 6 deletions.