From: Chris Lattner Date: Fri, 9 May 2003 20:44:22 +0000 (+0000) Subject: Updates to match recent timer updates X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=806cebc562aba0f2e3fef774323e913d451b2b70;p=oota-llvm.git Updates to match recent timer updates git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6069 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/Timer.h b/include/Support/Timer.h index 8538bb972ae..e89f32feab4 100644 --- a/include/Support/Timer.h +++ b/include/Support/Timer.h @@ -27,6 +27,7 @@ #include #include +#include class TimerGroup; @@ -90,7 +91,7 @@ public: /// print - Print the current timer to standard error, and reset the "Started" /// flag. - void print(const Timer &Total); + void print(const Timer &Total, std::ostream &OS); private: friend class TimerGroup; diff --git a/include/llvm/Support/Timer.h b/include/llvm/Support/Timer.h index 8538bb972ae..e89f32feab4 100644 --- a/include/llvm/Support/Timer.h +++ b/include/llvm/Support/Timer.h @@ -27,6 +27,7 @@ #include #include +#include class TimerGroup; @@ -90,7 +91,7 @@ public: /// print - Print the current timer to standard error, and reset the "Started" /// flag. - void print(const Timer &Total); + void print(const Timer &Total, std::ostream &OS); private: friend class TimerGroup;