[llvm-commits] CVS: llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Aug 18 15:35:06 PDT 2003
Changes in directory llvm/lib/Reoptimizer/LightWtProfiling/Trigger:
Globals.h updated: 1.1 -> 1.2
---
Log message:
Include Support/DataTypes.h.
Regularize the types of a few of the globals.
---
Diffs of the changes:
Index: llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h
diff -u llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h:1.1 llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h:1.2
--- llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h:1.1 Tue Aug 12 22:06:17 2003
+++ llvm/lib/Reoptimizer/LightWtProfiling/Trigger/Globals.h Mon Aug 18 15:33:46 2003
@@ -11,6 +11,7 @@
#ifndef GLOBALS_H
#define GLOBALS_H
+#include "Support/DataTypes.h"
#include "llvm/Reoptimizer/TraceCache.h"
#include "llvm/Reoptimizer/VirtualMem.h"
#include "llvm/Module.h"
@@ -18,18 +19,19 @@
/// Threshold against which back-edge counters are compared in first-level
/// instrumentation. If a back-edge's counter exceeds this threshold, we
/// may generate second-level instrumentation (SLI) for the loop.
+/// This value is also known as THRESHOLD_LEVEL_1.
///
-extern int reopt_threshold;
+extern int32_t reopt_threshold;
/// Another threshold used in SecondTrigger.cpp.
///
-extern long THRESHOLD_LEVEL_2;
+extern int32_t THRESHOLD_LEVEL_2;
/// If a trace selected as "hot" is exited more than a certain number
/// of times, then it will be rejected; this certain number is set to
/// 1/3 of the THRESHOLD_LEVEL_2 value.
///
-extern long LEVEL_TWO_EXITS;
+extern int32_t LEVEL_TWO_EXITS;
/// Second-level instrumented code cache.
///
More information about the llvm-commits
mailing list