java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf89.UsageData
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x01 = 1static final int
Constant: 0x07 = 7static final int
Constant: 0x03 = 3static final int
Constant: 0x02 = 2static final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0x08 = 8static final int
Constant: 0x10 = 16static final int
Constant: 0x20 = 32static final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0x20 = 32 -
Method Summary
Modifier and TypeMethodDescriptionstatic UsageData
create
(byte[] Data, int offset, int length) create is intended for internal use only.boolean
smf89afs()
Return true ifSMF89AFS
bit insmf89uf2()
is set.boolean
Return true ifsmf89BoostInfo()
masked by SMF89_BoostClass_Mask equalsSMF89_BoostClass_IPL
.boolean
Return true ifsmf89BoostInfo()
masked by SMF89_BoostClass_Mask equalsSMF89_BoostClass_RP
.boolean
Return true ifsmf89BoostInfo()
masked by SMF89_BoostClass_Mask equalsSMF89_BoostClass_Shutdown
.int
SMF89_BoostInfo value.long
SMF89CountASTrad value.long
SMF89CountASTRG value.boolean
smf89hcs()
Return true ifSMF89HCS
bit insmf89uf2()
is set.boolean
smf89htr()
Return true ifSMF89HTR
bit insmf89uf2()
is set.boolean
smf89plv()
Return true ifSMF89PLV
bit insmf89uf2()
is set.boolean
Return true ifSMF89_SpeedBoost_Active
bit insmf89BoostInfo()
is set.boolean
smf89tsh()
Return true ifSMF89TSH
bit insmf89uf2()
is set.smf89uct()
SMF89UCT as a Duration.double
SMF89UCT raw value.double
SMF89UCT in seconds.int
smf89uf2()
SMF89UF2 value.int
smf89ufg()
SMF89UFG value.boolean
smf89unu()
Return true ifSMF89UNU
bit insmf89ufg()
is set.smf89upi()
SMF89UPI value.smf89upn()
SMF89UPN value.smf89upo()
SMF89UPO value.smf89upq()
SMF89UPQ value.smf89upv()
SMF89UPV value.byte[]
smf89urd()
SMF89URD data.SMF89URD value as a BigInteger.long
SMF89URD as 64 bit binary value, throws exception if SMF89URD overflows 64 bit signed integer.SMF89URD as a Duration.double
SMF89URD as long floating point.int
smf89urt()
SMF89URT value.smf89usr()
SMF89USR as a Duration.double
SMF89USR raw value.double
SMF89USR in seconds.boolean
smf89uun()
Return true ifSMF89UUN
bit insmf89ufg()
is set.boolean
smf89uus()
Return true ifSMF89UUS
bit insmf89ufg()
is set.smf89uzt()
SMF89UZT as a Duration.double
SMF89UZT raw value.double
SMF89UZT in seconds.boolean
Return true ifSMF89_zIIPBoost_Active
bit insmf89BoostInfo()
is set.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF89UUN
public static final int SMF89UUNConstant: 0x80 = 128- See Also:
-
SMF89UNU
public static final int SMF89UNUConstant: 0x40 = 64- See Also:
-
SMF89UUS
public static final int SMF89UUSConstant: 0x20 = 32- See Also:
-
SMF89HCS
public static final int SMF89HCSConstant: 0x80 = 128- See Also:
-
SMF89AFS
public static final int SMF89AFSConstant: 0x40 = 64- See Also:
-
SMF89TSH
public static final int SMF89TSHConstant: 0x20 = 32- See Also:
-
SMF89PLV
public static final int SMF89PLVConstant: 0x10 = 16- See Also:
-
SMF89HTR
public static final int SMF89HTRConstant: 0x08 = 8- See Also:
-
SMF89_zIIPBoost_Active
public static final int SMF89_zIIPBoost_ActiveConstant: 0x80 = 128- See Also:
-
SMF89_SpeedBoost_Active
public static final int SMF89_SpeedBoost_ActiveConstant: 0x40 = 64- See Also:
-
SMF89_BoostClass_Mask
public static final int SMF89_BoostClass_MaskConstant: 0x07 = 7- See Also:
-
SMF89_BoostClass_IPL
public static final int SMF89_BoostClass_IPLConstant: 0x01 = 1- See Also:
-
SMF89_BoostClass_Shutdown
public static final int SMF89_BoostClass_ShutdownConstant: 0x02 = 2- See Also:
-
SMF89_BoostClass_RP
public static final int SMF89_BoostClass_RPConstant: 0x03 = 3- See Also:
-
-
Method Details
-
smf89upo
SMF89UPO value.- Returns:
- String SMF89UPO value
-
smf89upn
SMF89UPN value.- Returns:
- String SMF89UPN value
-
smf89upv
SMF89UPV value.- Returns:
- String SMF89UPV value
-
smf89upq
SMF89UPQ value.- Returns:
- String SMF89UPQ value
-
smf89upi
SMF89UPI value.- Returns:
- String SMF89UPI value
-
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
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 ifSMF89UUN
bit insmf89ufg()
is set.- Returns:
- boolean SMF89UUN bit is set in smf89ufg()
SMF89UUN = 0x80
-
smf89unu
public boolean smf89unu()Return true ifSMF89UNU
bit insmf89ufg()
is set.- Returns:
- boolean SMF89UNU bit is set in smf89ufg()
SMF89UNU = 0x40
-
smf89uus
public boolean smf89uus()Return true ifSMF89UUS
bit insmf89ufg()
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 ifSMF89HCS
bit insmf89uf2()
is set.- Returns:
- boolean SMF89HCS bit is set in smf89uf2()
SMF89HCS = 0x80
-
smf89afs
public boolean smf89afs()Return true ifSMF89AFS
bit insmf89uf2()
is set.- Returns:
- boolean SMF89AFS bit is set in smf89uf2()
SMF89AFS = 0x40
-
smf89tsh
public boolean smf89tsh()Return true ifSMF89TSH
bit insmf89uf2()
is set.- Returns:
- boolean SMF89TSH bit is set in smf89uf2()
SMF89TSH = 0x20
-
smf89plv
public boolean smf89plv()Return true ifSMF89PLV
bit insmf89uf2()
is set.- Returns:
- boolean SMF89PLV bit is set in smf89uf2()
SMF89PLV = 0x10
-
smf89htr
public boolean smf89htr()Return true ifSMF89HTR
bit insmf89uf2()
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 ifSMF89_zIIPBoost_Active
bit insmf89BoostInfo()
is set.- Returns:
- boolean SMF89_zIIPBoost_Active bit is set in smf89BoostInfo()
SMF89_zIIPBoost_Active = 0x80
-
smf89SpeedBoostActive
public boolean smf89SpeedBoostActive()Return true ifSMF89_SpeedBoost_Active
bit insmf89BoostInfo()
is set.- Returns:
- boolean SMF89_SpeedBoost_Active bit is set in smf89BoostInfo()
SMF89_SpeedBoost_Active = 0x40
-
smf89BoostClassIpl
public boolean smf89BoostClassIpl()Return true ifsmf89BoostInfo()
masked by SMF89_BoostClass_Mask equalsSMF89_BoostClass_IPL
.- Returns:
- boolean
smf89BoostInfo()
& SMF89_BoostClass_Mask equals SMF89_BoostClass_IPLSMF89_BoostClass_IPL = 0x01
-
smf89BoostClassShutdown
public boolean smf89BoostClassShutdown()Return true ifsmf89BoostInfo()
masked by SMF89_BoostClass_Mask equalsSMF89_BoostClass_Shutdown
.- Returns:
- boolean
smf89BoostInfo()
& SMF89_BoostClass_Mask equals SMF89_BoostClass_ShutdownSMF89_BoostClass_Shutdown = 0x02
-
smf89BoostClassRp
public boolean smf89BoostClassRp()Return true ifsmf89BoostInfo()
masked by SMF89_BoostClass_Mask equalsSMF89_BoostClass_RP
.- Returns:
- boolean
smf89BoostInfo()
& SMF89_BoostClass_Mask equals SMF89_BoostClass_RPSMF89_BoostClass_RP = 0x03
-
smf89urt
public int smf89urt()SMF89URT value.- Returns:
- int SMF89URT value
-
smf89urd
public byte[] smf89urd()SMF89URD data.- Returns:
- byte[] SMF89URD data
-
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). Usesmf89urdAsBigInteger()
if this is possible.
-
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
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
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
-