Minor fix to space accounting

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4520 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-04 01:49:45 +00:00
parent f9415dd8c2
commit a5cf9364f1
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ static TimeRecord getTimeRecord() {
Result.Elapsed = T.tv_sec + T.tv_usec/1000000.0;
Result.UserTime = RU.ru_utime.tv_sec + RU.ru_utime.tv_usec/1000000.0;
Result.SystemTime = RU.ru_stime.tv_sec + RU.ru_stime.tv_usec/1000000.0;
Result.MaxRSS = MI.uordblks+MI.usmblks;
Result.MaxRSS = MI.uordblks;
return Result;
}

View File

@ -77,7 +77,7 @@ static TimeRecord getTimeRecord() {
Result.Elapsed = T.tv_sec + T.tv_usec/1000000.0;
Result.UserTime = RU.ru_utime.tv_sec + RU.ru_utime.tv_usec/1000000.0;
Result.SystemTime = RU.ru_stime.tv_sec + RU.ru_stime.tv_usec/1000000.0;
Result.MaxRSS = MI.uordblks+MI.usmblks;
Result.MaxRSS = MI.uordblks;
return Result;
}