[llvm-commits] CVS: llvm/include/llvm/System/Process.h
Jeff Cohen
jeffc at jolt-lang.org
Sat Jan 8 12:16:09 PST 2005
Changes in directory llvm/include/llvm/System:
Process.h updated: 1.4 -> 1.5
---
Log message:
Use size_t instead of long to represent memory usage. long is 32 bits
on 64-bit Windows.
---
Diffs of the changes: (+2 -2)
Index: llvm/include/llvm/System/Process.h
diff -u llvm/include/llvm/System/Process.h:1.4 llvm/include/llvm/System/Process.h:1.5
--- llvm/include/llvm/System/Process.h:1.4 Sat Jan 1 16:29:26 2005
+++ llvm/include/llvm/System/Process.h Sat Jan 8 14:15:57 2005
@@ -40,14 +40,14 @@
/// 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
More information about the llvm-commits
mailing list