[llvm-commits] CVS: reopt/lib/TraceToFunction/TraceToFunction.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Mon May 31 00:54:10 PDT 2004
Changes in directory reopt/lib/TraceToFunction:
TraceToFunction.cpp updated: 1.58 -> 1.59
---
Log message:
Add a timer.
---
Diffs of the changes: (+2 -0)
Index: reopt/lib/TraceToFunction/TraceToFunction.cpp
diff -u reopt/lib/TraceToFunction/TraceToFunction.cpp:1.58 reopt/lib/TraceToFunction/TraceToFunction.cpp:1.59
--- reopt/lib/TraceToFunction/TraceToFunction.cpp:1.58 Mon May 24 15:36:10 2004
+++ reopt/lib/TraceToFunction/TraceToFunction.cpp Mon May 31 00:51:45 2004
@@ -38,6 +38,7 @@
#include "Support/StringExtras.h" // for utostr()
#define DEBUG_TYPE "tracetofunction"
#include "Support/Debug.h" // for DEBUG()
+#include "Support/Timer.h"
#include <cassert>
namespace llvm {
@@ -750,6 +751,7 @@
/// data structures.
///
TraceFunction *TraceFunction::get (Trace &T) {
+ NamedRegionTimer X ("TraceToFunction");
TraceFunctionBuilder TTF;
return TTF.buildTraceFunction (T);
}
More information about the llvm-commits
mailing list