[llvm-commits] CVS: llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h

Brian Gaeke gaeke at cs.uiuc.edu
Mon Aug 18 23:02:01 PDT 2003


Changes in directory llvm/lib/Reoptimizer/LightWtProfiling/Trigger:

Globals.h updated: 1.2 -> 1.3

---
Log message:

Add extern decl of count_trace_cycles as a bool (replacing GET_COVERAGE).


---
Diffs of the changes:

Index: llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h
diff -u llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h:1.2 llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h:1.3
--- llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h:1.2	Mon Aug 18 15:33:46 2003
+++ llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h	Mon Aug 18 22:59:31 2003
@@ -49,6 +49,15 @@
 ///
 extern Module *M;
 
+/// When this is set to true, calls to Solaris CPC library functions
+/// will be inserted that turn on performance counters whenever we are
+/// executing from the trace, and turn them off whenever we leave the
+/// trace. The effect is to count the number of cycles that we spend
+/// executing the trace.  This option used to be controlled by #ifdef
+/// GET_COVERAGE.
+///
+extern bool count_trace_cycles;
+
 /// The current SPARC LLC writes the bytecode and its length into the
 /// executable. We can access them via these global symbols.
 ///





More information about the llvm-commits mailing list