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 at the end of the run. Currently implemented only for the Transform command line, with -t option set.
-
-
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
-
-