Package net.sf.saxon.trace
Class Instrumentation
- java.lang.Object
-
- net.sf.saxon.trace.Instrumentation
-
public class Instrumentation extends java.lang.Object
Internal class used for instrumentation purposes. It maintains a number of counters and displays these on request. The counters are output by callingInstrumentation.report()
, typically at the end of a run.
-
-
Constructor Summary
Constructors Constructor Description Instrumentation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
callStack()
static void
count(java.lang.String counter)
static void
count(java.lang.String counter, long increment)
static void
report()
static void
reset()
-
-
-
Field Detail
-
ACTIVE
public static final boolean ACTIVE
- See Also:
- Constant Field Values
-
counters
public static java.util.HashMap<java.lang.String,java.lang.Long> counters
-
-