![]() |
|
|
|
Snapshot file format
GeneralSnapshots are stored in XML-Format. The overall structure is: <doc> ProfileThis section contains java-method profiling data collected by byte-code-instrumentation. Below you see an extract of a snapshot-file (Complete snapshot »): <profile> Profiling data is grouped by threads. Each thread reports the following data:
The XML-structure below <thread> shows the method call stack. Method profiling data comprises:
SamplerThis section contains java-method profiling data collected by sampling. Below you see an extract of a snapshot-file (Complete snapshot »): <sampler> Profiling data is grouped by threads. Each thread reports the following data:
The XML-structure below <thread> shows the method call stack. Method profiling data comprises:
MemoryThis section contains object allocation data collected by byte-code-instrumentation. Below you see an extract of a snapshot-file (Complete snapshot »): <memory> </thread> The object allocations are grouped by threads which allocated the respective objects. For each allocated object, the following data is provided:
CoverageThis section contains coverage metrics collected by byte-code-instrumentation. Below you see an extract of a snapshot-file (Complete snapshot »): <coverage> <method name="runLoop"
signature="(I)V" firstline="26" count="605"> .... The tag <class> contains general information about the class whose methods have been checked vor coverage:
Beneath the class node you find a <method> tag for each method of the class.
The tag <footprints> contains integers delimited by blanks. Each source line of the respective method corresponds to exactly one number, i.e. the first line of the method corresponds to the first integer. Each number may be -1, 0 or greater than 0:
|