summaryrefslogtreecommitdiff
path: root/lib/Support/Statistic.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-14 21:27:33 +0000
committerChris Lattner <sabre@nondot.org>2003-12-14 21:27:33 +0000
commitb6d465f8131f5fb0b8e565685fb3395ed9aecbdb (patch)
tree47d8b54dbffc2606282a35c3ad02436e2dab5c99 /lib/Support/Statistic.cpp
parent721b4e5715d97dedce0a4f0206c7d8c0b5af9ca3 (diff)
downloadllvm-b6d465f8131f5fb0b8e565685fb3395ed9aecbdb.tar.gz
llvm-b6d465f8131f5fb0b8e565685fb3395ed9aecbdb.tar.bz2
llvm-b6d465f8131f5fb0b8e565685fb3395ed9aecbdb.tar.xz
Finegrainify namespacification
Make the Timer code give correct user/system/user+system times when -track-memory is enabled git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Statistic.cpp')
-rw-r--r--lib/Support/Statistic.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Support/Statistic.cpp b/lib/Support/Statistic.cpp
index 3ac2bf97fb..9589fd7ebd 100644
--- a/lib/Support/Statistic.cpp
+++ b/lib/Support/Statistic.cpp
@@ -26,11 +26,10 @@
#include <sstream>
#include <iostream>
#include <algorithm>
-
-namespace llvm {
+using namespace llvm;
// GetLibSupportInfoOutputFile - Return a file stream to print our output on...
-extern std::ostream *GetLibSupportInfoOutputFile();
+namespace llvm { extern std::ostream *GetLibSupportInfoOutputFile(); }
unsigned StatisticBase::NumStats = 0;
@@ -106,5 +105,3 @@ void StatisticBase::destroy() const {
delete OutStream; // Close the file...
}
}
-
-} // End llvm namespace