diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-19 04:59:07 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-19 04:59:07 +0000 |
commit | 6475b8d178f832c70da4af79fcb1e8d1690df059 (patch) | |
tree | 46502dca64d4a7752b75705972f5f0906c393338 | |
parent | ed26b319462f48c619641b8da0693245e72a59b6 (diff) | |
download | external_llvm-6475b8d178f832c70da4af79fcb1e8d1690df059.zip external_llvm-6475b8d178f832c70da4af79fcb1e8d1690df059.tar.gz external_llvm-6475b8d178f832c70da4af79fcb1e8d1690df059.tar.bz2 |
Undo last change as its unnecessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17985 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index e1ba81e..ff3fd6f 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -148,7 +148,7 @@ static TimeRecord getTimeRecord(bool Start) { } TimeRecord Result; - Result.Elapsed = double(T.tv_sec) + T.tv_usec/1000000.0; + 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.MemUsed = MemUsed; |