[llvm-commits] CVS: llvm/lib/System/Win32/Process.cpp
Jeff Cohen
jeffc at jolt-lang.org
Sat Jan 8 12:16:09 PST 2005
Changes in directory llvm/lib/System/Win32:
Process.cpp updated: 1.7 -> 1.8
---
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/lib/System/Win32/Process.cpp
diff -u llvm/lib/System/Win32/Process.cpp:1.7 llvm/lib/System/Win32/Process.cpp:1.8
--- llvm/lib/System/Win32/Process.cpp:1.7 Sat Jan 1 16:54:05 2005
+++ llvm/lib/System/Win32/Process.cpp Sat Jan 8 14:15:57 2005
@@ -51,7 +51,7 @@
return PageSize;
}
-uint64_t
+size_t
Process::GetMallocUsage()
{
_HEAPINFO hinfo;
@@ -65,7 +65,7 @@
return size;
}
-uint64_t
+size_t
Process::GetTotalMemoryUsage()
{
PROCESS_MEMORY_COUNTERS pmc;
More information about the llvm-commits
mailing list