diff options
| author | Owen Anderson <resistor@mac.com> | 2009-06-23 18:21:13 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2009-06-23 18:21:13 +0000 |
| commit | 625b2744333cd2ecde1041782bc2a23042f318fd (patch) | |
| tree | dfa48dfb8069dfcfc07f4ca70b12063242cd42f5 /lib/Support | |
| parent | 2aa7b9f36d68060d41c748e4950b6e76f2a69ea9 (diff) | |
| download | external_llvm-625b2744333cd2ecde1041782bc2a23042f318fd.zip external_llvm-625b2744333cd2ecde1041782bc2a23042f318fd.tar.gz external_llvm-625b2744333cd2ecde1041782bc2a23042f318fd.tar.bz2 | |
Actually, these need to be signed integers, not unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
| -rw-r--r-- | lib/Support/Timer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index f4e97c4..69f967c 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -112,7 +112,7 @@ static inline size_t getMemUsage() { } struct TimeRecord { - uint64_t Elapsed, UserTime, SystemTime, MemUsed; + int64_t Elapsed, UserTime, SystemTime, MemUsed; }; static TimeRecord getTimeRecord(bool Start) { @@ -122,7 +122,7 @@ static TimeRecord getTimeRecord(bool Start) { sys::TimeValue user(0,0); sys::TimeValue sys(0,0); - uint64_t MemUsed = 0; + int64_t MemUsed = 0; if (Start) { MemUsed = getMemUsage(); sys::Process::GetTimeUsage(now,user,sys); |
