public final class ThreadSection extends SmfData
  • 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). Use smf121tsIdAsBigInteger() if this is possible.
    • smf121tsIdAsBigInteger

      public BigInteger 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

      public String smf121tsName()
      SMF121TS_NAME value.
      Returns:
      String SMF121TS_NAME value
    • smf121tsCat

      public String smf121tsCat()
      SMF121TS_CAT value.
      Returns:
      String SMF121TS_CAT value
    • smf121tsCpu

      public Duration 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

      public BigInteger smf121tsNativeid()
      SMF121TS_NATIVEID value.
      Returns:
      BigInteger SMF121TS_NATIVEID value
    • create

      public static ThreadSection create(byte[] Data, int offset, int length)
      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 section
      offset - Offset of this section in the data
      length - length of the section