diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-14 21:27:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-14 21:27:33 +0000 |
commit | dd978ce8c53447f16d883be6493afc894042124d (patch) | |
tree | c10dcd0ca27a5859f737c8570932721236e2ffc0 /llvm/lib/Support/Statistic.cpp | |
parent | fc2234ff4bab668c6e5de3fbc3693b0e842e332a (diff) | |
download | bcm5719-llvm-dd978ce8c53447f16d883be6493afc894042124d.tar.gz bcm5719-llvm-dd978ce8c53447f16d883be6493afc894042124d.zip |
Finegrainify namespacification
Make the Timer code give correct user/system/user+system times when -track-memory is enabled
llvm-svn: 10463
Diffstat (limited to 'llvm/lib/Support/Statistic.cpp')
-rw-r--r-- | llvm/lib/Support/Statistic.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/Support/Statistic.cpp b/llvm/lib/Support/Statistic.cpp index 3ac2bf97fbe..9589fd7ebd9 100644 --- a/llvm/lib/Support/Statistic.cpp +++ b/llvm/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 |