aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/System/Process.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/System/Process.h')
-rw-r--r--include/llvm/System/Process.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/System/Process.h b/include/llvm/System/Process.h
index 5070bbe404..80fadbad6c 100644
--- a/include/llvm/System/Process.h
+++ b/include/llvm/System/Process.h
@@ -40,14 +40,14 @@ namespace sys {
/// allocated space.
/// @throws nothing
/// @brief Return process memory usage.
- static uint64_t GetMallocUsage();
+ static size_t GetMallocUsage();
/// This static function will return the total memory usage of the
/// process. This includes code, data, stack and mapped pages usage. Notei
/// that the value returned here is not necessarily the Running Set Size,
/// it is the total virtual memory usage, regardless of mapped state of
/// that memory.
- static uint64_t GetTotalMemoryUsage();
+ static size_t GetTotalMemoryUsage();
/// This static function will set \p user_time to the amount of CPU time
/// spent in user (non-kernel) mode and \p sys_time to the amount of CPU