diff options
author | Lioncash <mathew1800@gmail.com> | 2019-06-10 00:20:20 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-06-10 00:22:30 +0200 |
commit | 3f87664d8fac06b024b0a59adfdfe570ab6195e5 (patch) | |
tree | 59b7c0e6fa849694b5e4c34f573310589e342496 /src/core/hle/kernel/process.h | |
parent | kernel/svc: Amend naming for TotalMemoryUsage in svcGetInfo() (diff) | |
download | yuzu-3f87664d8fac06b024b0a59adfdfe570ab6195e5.tar yuzu-3f87664d8fac06b024b0a59adfdfe570ab6195e5.tar.gz yuzu-3f87664d8fac06b024b0a59adfdfe570ab6195e5.tar.bz2 yuzu-3f87664d8fac06b024b0a59adfdfe570ab6195e5.tar.lz yuzu-3f87664d8fac06b024b0a59adfdfe570ab6195e5.tar.xz yuzu-3f87664d8fac06b024b0a59adfdfe570ab6195e5.tar.zst yuzu-3f87664d8fac06b024b0a59adfdfe570ab6195e5.zip |
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r-- | src/core/hle/kernel/process.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index f027fafa3..9c20eb7f8 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -186,9 +186,20 @@ public: return random_entropy.at(index); } + /// Retrieves the total physical memory available to this process in bytes. + u64 GetTotalPhysicalMemoryAvailable() const; + + /// Retrieves the total physical memory available to this process in bytes, + /// without the size of the personal heap added to it. + u64 GetTotalPhysicalMemoryAvailableWithoutMmHeap() const; + /// Retrieves the total physical memory used by this process in bytes. u64 GetTotalPhysicalMemoryUsed() const; + /// Retrieves the total physical memory used by this process in bytes, + /// without the size of the personal heap added to it. + u64 GetTotalPhysicalMemoryUsedWithoutMmHeap() const; + /// Gets the list of all threads created with this process as their owner. const std::list<const Thread*>& GetThreadList() const { return thread_list; |