Class TraceFileHeader
java.lang.Object
com.ibm.jvm.format.TraceFileHeader
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
protected TraceSection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final String
protected final int
returns the size of the buffers in the associated trace filelong
long
long
long
protected final long
returns the length of this file headerprotected final String
getNextFormatFileName
(String previous) String[]
final long
String[]
protected final String
String[]
protected static final boolean
isUTE()
returns true if a UTE trace file is being processedprotected final void
protected final void
summarize
(BufferedWriter out)
-
Field Details
-
traceSection
-
INTERNAL
protected static final int INTERNAL- See Also:
-
EXTERNAL
protected static final int EXTERNAL- See Also:
-
-
Constructor Details
-
TraceFileHeader
- Throws:
IOException
-
-
Method Details
-
processTraceBufferHeaders
- Throws:
IOException
-
summarize
- Throws:
IOException
-
getLength
protected final long getLength()returns the length of this file header- Returns:
- a long
-
getBufferSize
protected final int getBufferSize()returns the size of the buffers in the associated trace file- Returns:
- an int
-
formatFileName
-
getVMLevel
-
getNextFormatFileName
-
isUTE
protected static final boolean isUTE()returns true if a UTE trace file is being processed- Returns:
- a boolean
-
getTraceDataStart
public final long getTraceDataStart() -
getVMVersion
- Specified by:
getVMVersion
in interfaceTraceFileHeader
- Returns:
- a String representation of the JVM that produced the current TraceFile, null if no valid data.
-
getVMStartUpParameters
- Specified by:
getVMStartUpParameters
in interfaceTraceFileHeader
- Returns:
- a String array representation of the startup parameters that were used to start the JVM that produced the current TraceFile, null if no valid data.
-
getTraceParameters
- Specified by:
getTraceParameters
in interfaceTraceFileHeader
- Returns:
- a String array representation of the Trace startup parameters that were used to start the JVM that produced the current TraceFile, null if no valid data.
-
getSysProcessorInfo
- Specified by:
getSysProcessorInfo
in interfaceTraceFileHeader
- Returns:
- a String array representation of the system on which the JVM that produced the current TraceFile was run, null if no valid data.
-
getJVMStartedMillis
public long getJVMStartedMillis()- Specified by:
getJVMStartedMillis
in interfaceTraceFileHeader
- Returns:
- the millisecond time at which the JVM that produced the current TraceFile was started. Returns -1 if no valid data.
-
getLastBufferWriteMillis
public long getLastBufferWriteMillis()- Specified by:
getLastBufferWriteMillis
in interfaceTraceFileHeader
- Returns:
- the millisecond time at which the JVM that produced the current TraceFile wrote its most recent TracePoint before the production of the current TraceFile. Returns -1 if no valid data.
-
getFirstTracePointMillis
public long getFirstTracePointMillis()- Specified by:
getFirstTracePointMillis
in interfaceTraceFileHeader
- Returns:
- the millisecond time of the first TracePoint in the current TraceFile. This may not be the first TracePoint that the JVM produced. Returns -1 if no valid data.
-
getLastTracePointMillis
public long getLastTracePointMillis()- Specified by:
getLastTracePointMillis
in interfaceTraceFileHeader
- Returns:
- the millisecond time of the last TracePoint in the current TraceFile. This may not be the last TracePoint that the JVM produced. Returns -1 if no valid data.
-