aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/Support/Timer.h3
-rw-r--r--include/llvm/Support/Timer.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/Support/Timer.h b/include/Support/Timer.h
index 8538bb9..e89f32f 100644
--- a/include/Support/Timer.h
+++ b/include/Support/Timer.h
@@ -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;
diff --git a/include/llvm/Support/Timer.h b/include/llvm/Support/Timer.h
index 8538bb9..e89f32f 100644
--- a/include/llvm/Support/Timer.h
+++ b/include/llvm/Support/Timer.h
@@ -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;