public final class UsageData extends SmfData
  • Field Details

    • SMF89UUN

      public static final int SMF89UUN
      Constant: 0x80 = 128
      See Also:
    • SMF89UNU

      public static final int SMF89UNU
      Constant: 0x40 = 64
      See Also:
    • SMF89UUS

      public static final int SMF89UUS
      Constant: 0x20 = 32
      See Also:
    • SMF89HCS

      public static final int SMF89HCS
      Constant: 0x80 = 128
      See Also:
    • SMF89AFS

      public static final int SMF89AFS
      Constant: 0x40 = 64
      See Also:
    • SMF89TSH

      public static final int SMF89TSH
      Constant: 0x20 = 32
      See Also:
    • SMF89PLV

      public static final int SMF89PLV
      Constant: 0x10 = 16
      See Also:
    • SMF89HTR

      public static final int SMF89HTR
      Constant: 0x08 = 8
      See Also:
    • SMF89_zIIPBoost_Active

      public static final int SMF89_zIIPBoost_Active
      Constant: 0x80 = 128
      See Also:
    • SMF89_SpeedBoost_Active

      public static final int SMF89_SpeedBoost_Active
      Constant: 0x40 = 64
      See Also:
    • SMF89_BoostClass_Mask

      public static final int SMF89_BoostClass_Mask
      Constant: 0x07 = 7
      See Also:
    • SMF89_BoostClass_IPL

      public static final int SMF89_BoostClass_IPL
      Constant: 0x01 = 1
      See Also:
    • SMF89_BoostClass_Shutdown

      public static final int SMF89_BoostClass_Shutdown
      Constant: 0x02 = 2
      See Also:
    • SMF89_BoostClass_RP

      public static final int SMF89_BoostClass_RP
      Constant: 0x03 = 3
      See Also:
  • Method Details

    • smf89upo

      public String smf89upo()
      SMF89UPO value.
      Returns:
      String SMF89UPO value
    • smf89upn

      public String smf89upn()
      SMF89UPN value.
      Returns:
      String SMF89UPN value
    • smf89upv

      public String smf89upv()
      SMF89UPV value.
      Returns:
      String SMF89UPV value
    • smf89upq

      public String smf89upq()
      SMF89UPQ value.
      Returns:
      String SMF89UPQ value
    • smf89upi

      public String smf89upi()
      SMF89UPI value.
      Returns:
      String SMF89UPI value
    • smf89uct

      public Duration smf89uct()
      SMF89UCT as a Duration.
      Returns:
      Duration SMF89UCT
      See Also:
    • smf89uctSeconds

      public double smf89uctSeconds()
      SMF89UCT in seconds.
      Returns:
      double SMF89UCT converted to seconds
    • smf89uctRawValue

      public double smf89uctRawValue()
      SMF89UCT raw value.
      Returns:
      double SMF89UCT value
    • smf89usr

      public Duration smf89usr()
      SMF89USR as a Duration.
      Returns:
      Duration SMF89USR
      See Also:
    • smf89usrSeconds

      public double smf89usrSeconds()
      SMF89USR in seconds.
      Returns:
      double SMF89USR converted to seconds
    • smf89usrRawValue

      public double smf89usrRawValue()
      SMF89USR raw value.
      Returns:
      double SMF89USR value
    • smf89ufg

      public int smf89ufg()
      SMF89UFG value.
      Returns:
      int SMF89UFG value
    • smf89uun

      public boolean smf89uun()
      Return true if SMF89UUN bit in smf89ufg() is set.
      Returns:
      boolean SMF89UUN bit is set in smf89ufg()

      SMF89UUN = 0x80

    • smf89unu

      public boolean smf89unu()
      Return true if SMF89UNU bit in smf89ufg() is set.
      Returns:
      boolean SMF89UNU bit is set in smf89ufg()

      SMF89UNU = 0x40

    • smf89uus

      public boolean smf89uus()
      Return true if SMF89UUS bit in smf89ufg() is set.
      Returns:
      boolean SMF89UUS bit is set in smf89ufg()

      SMF89UUS = 0x20

    • smf89uf2

      public int smf89uf2()
      SMF89UF2 value.
      Returns:
      int SMF89UF2 value
    • smf89hcs

      public boolean smf89hcs()
      Return true if SMF89HCS bit in smf89uf2() is set.
      Returns:
      boolean SMF89HCS bit is set in smf89uf2()

      SMF89HCS = 0x80

    • smf89afs

      public boolean smf89afs()
      Return true if SMF89AFS bit in smf89uf2() is set.
      Returns:
      boolean SMF89AFS bit is set in smf89uf2()

      SMF89AFS = 0x40

    • smf89tsh

      public boolean smf89tsh()
      Return true if SMF89TSH bit in smf89uf2() is set.
      Returns:
      boolean SMF89TSH bit is set in smf89uf2()

      SMF89TSH = 0x20

    • smf89plv

      public boolean smf89plv()
      Return true if SMF89PLV bit in smf89uf2() is set.
      Returns:
      boolean SMF89PLV bit is set in smf89uf2()

      SMF89PLV = 0x10

    • smf89htr

      public boolean smf89htr()
      Return true if SMF89HTR bit in smf89uf2() is set.
      Returns:
      boolean SMF89HTR bit is set in smf89uf2()

      SMF89HTR = 0x08

    • smf89BoostInfo

      public int smf89BoostInfo()
      SMF89_BoostInfo value.
      Returns:
      int SMF89_BoostInfo value
    • smf89ziipBoostActive

      public boolean smf89ziipBoostActive()
      Return true if SMF89_zIIPBoost_Active bit in smf89BoostInfo() is set.
      Returns:
      boolean SMF89_zIIPBoost_Active bit is set in smf89BoostInfo()

      SMF89_zIIPBoost_Active = 0x80

    • smf89SpeedBoostActive

      public boolean smf89SpeedBoostActive()
      Return true if SMF89_SpeedBoost_Active bit in smf89BoostInfo() is set.
      Returns:
      boolean SMF89_SpeedBoost_Active bit is set in smf89BoostInfo()

      SMF89_SpeedBoost_Active = 0x40

    • smf89BoostClassIpl

      public boolean smf89BoostClassIpl()
      Return true if smf89BoostInfo() masked by SMF89_BoostClass_Mask equals SMF89_BoostClass_IPL.
      Returns:
      boolean smf89BoostInfo() & SMF89_BoostClass_Mask equals SMF89_BoostClass_IPL

      SMF89_BoostClass_IPL = 0x01

    • smf89BoostClassShutdown

      public boolean smf89BoostClassShutdown()
      Return true if smf89BoostInfo() masked by SMF89_BoostClass_Mask equals SMF89_BoostClass_Shutdown.
      Returns:
      boolean smf89BoostInfo() & SMF89_BoostClass_Mask equals SMF89_BoostClass_Shutdown

      SMF89_BoostClass_Shutdown = 0x02

    • smf89BoostClassRp

      public boolean smf89BoostClassRp()
      Return true if smf89BoostInfo() masked by SMF89_BoostClass_Mask equals SMF89_BoostClass_RP.
      Returns:
      boolean smf89BoostInfo() & SMF89_BoostClass_Mask equals SMF89_BoostClass_RP

      SMF89_BoostClass_RP = 0x03

    • smf89urt

      public int smf89urt()
      SMF89URT value.
      Returns:
      int SMF89URT value
    • smf89urd

      public byte[] smf89urd()
      SMF89URD data.
      Returns:
      byte[] SMF89URD data
    • smf89urdAsCpuTime

      public Duration smf89urdAsCpuTime()
      SMF89URD as a Duration.
      Returns:
      Duration SMF89URD
      See Also:
    • smf89urdAsBinary

      public long smf89urdAsBinary()
      SMF89URD as 64 bit binary value, throws exception if SMF89URD overflows 64 bit signed integer.
      Returns:
      long SMF89URD
      Throws:
      IllegalArgumentException - If the value of SMF89URD exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF89URD). Use smf89urdAsBigInteger() if this is possible.
    • smf89urdAsBigInteger

      public BigInteger smf89urdAsBigInteger()
      SMF89URD value as a BigInteger.

      smf89urdAsBinary() may provide better performance if the value will not exceed the maximum value for a signed long.

      Returns:
      BigInteger SMF89URD
    • smf89urdLongFP

      public double smf89urdLongFP()
      SMF89URD as long floating point.
      Returns:
      double SMF89URD
    • smf89uzt

      public Duration smf89uzt()
      SMF89UZT as a Duration.
      Returns:
      Duration SMF89UZT
      See Also:
    • smf89uztSeconds

      public double smf89uztSeconds()
      SMF89UZT in seconds.
      Returns:
      double SMF89UZT converted to seconds
    • smf89uztRawValue

      public double smf89uztRawValue()
      SMF89UZT raw value.
      Returns:
      double SMF89UZT value
    • smf89countAsTrad

      public long smf89countAsTrad()
      SMF89CountASTrad value.
      Returns:
      long SMF89CountASTrad value
    • smf89countAsTrg

      public long smf89countAsTrg()
      SMF89CountASTRG value.
      Returns:
      long SMF89CountASTRG value
    • create

      public static UsageData 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