Updates to match recent timer updates
authorChris Lattner <sabre@nondot.org>
Fri, 9 May 2003 20:44:22 +0000 (20:44 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 9 May 2003 20:44:22 +0000 (20:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6069 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/Timer.h
include/llvm/Support/Timer.h

index 8538bb972ae4ef9c5d9899e18fdce35d2ca5977b..e89f32feab4cc1bef4d55f82c751f9624b106b56 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <string>
 #include <vector>
+#include <iosfwd>
 
 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;
index 8538bb972ae4ef9c5d9899e18fdce35d2ca5977b..e89f32feab4cc1bef4d55f82c751f9624b106b56 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <string>
 #include <vector>
+#include <iosfwd>
 
 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;