Implement memory monitoring functions for Linux OS
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Sep 2019 15:07:19 +0000 (15:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Sep 2019 15:07:19 +0000 (15:07 +0000)
commitaca257e713e3ca894b2ad311fa735ea197878d52
tree8cb16dab2368237be9c7ef94f47d829311dca0aa
parent194f951f352f48f2a5e04c523c5c763ab837fe17
Implement memory monitoring functions for Linux OS
https://bugs.webkit.org/show_bug.cgi?id=200391

Patch by Paulo Matos <pmatos@igalia.com> on 2019-09-20
Reviewed by Žan Doberšek.

Source/JavaScriptCore:

* jsc.cpp:

Source/WTF:

* wtf/PlatformGTK.cmake:
* wtf/PlatformJSCOnly.cmake:
* wtf/PlatformWPE.cmake:
* wtf/linux/ProcessMemoryFootprint.h: Added.
(ProcessMemoryFootprint::now):
(ProcessMemoryFootprint::resetPeak):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jsc.cpp
Source/WTF/ChangeLog
Source/WTF/wtf/PlatformGTK.cmake
Source/WTF/wtf/PlatformJSCOnly.cmake
Source/WTF/wtf/PlatformWPE.cmake
Source/WTF/wtf/linux/ProcessMemoryFootprint.h [new file with mode: 0644]