aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/System
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-08 20:15:57 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-08 20:15:57 +0000
commite269a1ac1cd795135e91e42527a9814f4807c75a (patch)
treef8630bf255a9d6feee23601bd82f592cb8614dcb /include/llvm/System
parent9dacd128b4539b8100e97b973ec10cc36d712849 (diff)
downloadexternal_llvm-e269a1ac1cd795135e91e42527a9814f4807c75a.zip
external_llvm-e269a1ac1cd795135e91e42527a9814f4807c75a.tar.gz
external_llvm-e269a1ac1cd795135e91e42527a9814f4807c75a.tar.bz2
Use size_t instead of long to represent memory usage. long is 32 bits
on 64-bit Windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/System')
-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 5070bbe..80fadba 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