From 806cebc562aba0f2e3fef774323e913d451b2b70 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 9 May 2003 20:44:22 +0000 Subject: [PATCH] Updates to match recent timer updates git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6069 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/Timer.h | 3 ++- include/llvm/Support/Timer.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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;