public class ByteCodeMonitor
extends java.lang.Object
Feature.MONITOR_HOT_SPOT_BYTE_CODE
Modifier and Type | Field and Description |
---|---|
IntHashMap<com.saxonica.ee.bytecode.ByteCodeMonitor.ByteCodeDetails> |
stats |
Constructor and Description |
---|
ByteCodeMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
logCompilation(ByteCodeCandidate candidate,
long time) |
void |
logExecution(ByteCodeCandidate candidate,
java.lang.String evalMode,
long time) |
void |
report(java.io.PrintWriter w)
Generate an XML report of the collected statistics.
|
public IntHashMap<com.saxonica.ee.bytecode.ByteCodeMonitor.ByteCodeDetails> stats
public void logCompilation(ByteCodeCandidate candidate, long time)
public void logExecution(ByteCodeCandidate candidate, java.lang.String evalMode, long time)
public void report(java.io.PrintWriter w)
The following attributes are output for each candidate expression. Timings are in microseconds:
text
Abbreviated text of the expressionintCout
Number of times the expression was evaluated in the interpreterintTime
Cumulative time spent evaluating the expression (including subexpressions) in the interpreterbcCount
Number of times the expression was evaluated as byte-codebcTime
Cumulative time spent evaluating the expression (including subexpressions) as byte-codecompileTime
Time spent generating bytecode for the expressionratio
Average byte-code execution time as a proportion of average interpreted execution timeebv
Number of evaluations of the expressions effectiveBooleanValue()
methodeval
Number of evaluations of the expressions evaluateItem()
methoditerate
Number of evaluations of the expressions iterate()
methodprocess
Number of evaluations of the expressions process()
methodmodule
URI of the module containing the expressionline
Line number of the expression within this modulew
- the destination to which the generated XML will be writtenCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.