Web Inspector: add memory used by memory allocator itself to NMI
https://bugs.webkit.org/show_bug.cgi?id=93372
Make native memory instrumentation report memory retained
for the memory allocator internal purposes.
Patch by Alexei Filippov <alph@chromium.org> on 2012-12-12
Reviewed by Yury Semikhatsky.
Source/Platform:
* chromium/public/Platform.h:
(Platform):
(WebKit::Platform::memoryAllocatorWasteInBytes):
Source/WebCore:
* inspector/front-end/NativeMemorySnapshotView.js:
(WebInspector.MemoryBlockViewProperties._initialize):
* platform/chromium/MemoryUsageSupportChromium.cpp:
(WebCore::MemoryUsageSupport::memoryUsageByComponents):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk/Source/Platform/chromium/public@137457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 file changed