Package com.blackhillsoftware.smf.smf121
Class ThreadSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf121.ThreadSection
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadSection
create
(byte[] Data, int offset, int length) create is intended for internal use only.SMF121TS_CAT value.SMF121TS_CPU as a Duration or null if SMF121TS_CPU == -1.long
SMF121TS_CPU raw value.double
SMF121TS_CPU in seconds.long
SMF121TS_FDFLAGS value.int
SMF121TS_FF1 value.int
SMF121TS_FF2 value.int
SMF121TS_FF3 value.int
SMF121TS_FF4 value.long
SMF121TS_ID value, throws exception if SMF121TS_ID overflows 64 bit signed integer.SMF121TS_ID value as a BigInteger.SMF121TS_NAME value.SMF121TS_NATIVEID value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Method Details
-
smf121tsFdflags
public long smf121tsFdflags()SMF121TS_FDFLAGS value.- Returns:
- long SMF121TS_FDFLAGS value
-
smf121tsFf1
public int smf121tsFf1()SMF121TS_FF1 value.- Returns:
- int SMF121TS_FF1 value
-
smf121tsFf2
public int smf121tsFf2()SMF121TS_FF2 value.- Returns:
- int SMF121TS_FF2 value
-
smf121tsFf3
public int smf121tsFf3()SMF121TS_FF3 value.- Returns:
- int SMF121TS_FF3 value
-
smf121tsFf4
public int smf121tsFf4()SMF121TS_FF4 value.- Returns:
- int SMF121TS_FF4 value
-
smf121tsId
public long smf121tsId()SMF121TS_ID value, throws exception if SMF121TS_ID overflows 64 bit signed integer.- Returns:
- long SMF121TS_ID
- Throws:
IllegalArgumentException
- If the value of SMF121TS_ID exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF121TS_ID). Usesmf121tsIdAsBigInteger()
if this is possible.
-
smf121tsIdAsBigInteger
SMF121TS_ID value as a BigInteger.smf121tsId()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF121TS_ID
-
smf121tsName
SMF121TS_NAME value.- Returns:
- String SMF121TS_NAME value
-
smf121tsCat
SMF121TS_CAT value.- Returns:
- String SMF121TS_CAT value
-
smf121tsCpu
SMF121TS_CPU as a Duration or null if SMF121TS_CPU == -1.- Returns:
- Duration SMF121TS_CPU
- See Also:
-
smf121tsCpuSeconds
public double smf121tsCpuSeconds()SMF121TS_CPU in seconds.- Returns:
- double SMF121TS_CPU converted to seconds
-
smf121tsCpuRawValue
public long smf121tsCpuRawValue()SMF121TS_CPU raw value.- Returns:
- double SMF121TS_CPU value
-
smf121tsNativeid
SMF121TS_NATIVEID value.- Returns:
- BigInteger SMF121TS_NATIVEID value
-
create
create is intended for internal use only. Instances of this section are created by the parent record or section.- Parameters:
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the section
-