java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf89.UsageData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant: 0x07 = 7static final intConstant: 0x40 = 64static final intConstant: 0x80 = 128static final intConstant: 0x40 = 64static final intConstant: 0x80 = 128static final intConstant: 0x08 = 8static final intConstant: 0x10 = 16static final intConstant: 0x20 = 32static final intConstant: 0x40 = 64static final intConstant: 0x80 = 128static final intConstant: 0x20 = 32 -
Method Summary
Modifier and TypeMethodDescriptionstatic UsageDatacreate(byte[] Data, int offset, int length) create is intended for internal use only.Return BoostClass if Speed Boost or zIIP Boost was active, otherwise nullbooleansmf89afs()Return true ifSMF89AFSbit insmf89uf2()is set.intSMF89_BoostInfo value.longSMF89CountASTrad value.longSMF89CountASTRG value.booleansmf89hcs()Return true ifSMF89HCSbit insmf89uf2()is set.booleansmf89htr()Return true ifSMF89HTRbit insmf89uf2()is set.booleansmf89plv()Return true ifSMF89PLVbit insmf89uf2()is set.booleanReturn true ifSMF89_SpeedBoost_Activebit insmf89BoostInfo()is set.booleansmf89tsh()Return true ifSMF89TSHbit insmf89uf2()is set.smf89uct()SMF89UCT as a Duration.doubleSMF89UCT raw value.doubleSMF89UCT in seconds.intsmf89uf2()SMF89UF2 value.intsmf89ufg()SMF89UFG value.booleansmf89unu()Return true ifSMF89UNUbit 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.longSMF89URD as 64 bit binary value, throws exception if SMF89URD overflows 64 bit signed integer.SMF89URD as a Duration.doubleSMF89URD as long floating point.intsmf89urt()SMF89URT value.smf89usr()SMF89USR as a Duration.doubleSMF89USR raw value.doubleSMF89USR in seconds.booleansmf89uun()Return true ifSMF89UUNbit insmf89ufg()is set.booleansmf89uus()Return true ifSMF89UUSbit insmf89ufg()is set.smf89uzt()SMF89UZT as a Duration.doubleSMF89UZT raw value.doubleSMF89UZT in seconds.booleanReturn true ifSMF89_zIIPBoost_Activebit 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:
-
-
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 ifSMF89UUNbit insmf89ufg()is set.- Returns:
- boolean SMF89UUN bit is set in smf89ufg()
SMF89UUN = 0x80
-
smf89unu
public boolean smf89unu()Return true ifSMF89UNUbit insmf89ufg()is set.- Returns:
- boolean SMF89UNU bit is set in smf89ufg()
SMF89UNU = 0x40
-
smf89uus
public boolean smf89uus()Return true ifSMF89UUSbit 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 ifSMF89HCSbit insmf89uf2()is set.- Returns:
- boolean SMF89HCS bit is set in smf89uf2()
SMF89HCS = 0x80
-
smf89afs
public boolean smf89afs()Return true ifSMF89AFSbit insmf89uf2()is set.- Returns:
- boolean SMF89AFS bit is set in smf89uf2()
SMF89AFS = 0x40
-
smf89tsh
public boolean smf89tsh()Return true ifSMF89TSHbit insmf89uf2()is set.- Returns:
- boolean SMF89TSH bit is set in smf89uf2()
SMF89TSH = 0x20
-
smf89plv
public boolean smf89plv()Return true ifSMF89PLVbit insmf89uf2()is set.- Returns:
- boolean SMF89PLV bit is set in smf89uf2()
SMF89PLV = 0x10
-
smf89htr
public boolean smf89htr()Return true ifSMF89HTRbit 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_Activebit 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_Activebit insmf89BoostInfo()is set.- Returns:
- boolean SMF89_SpeedBoost_Active bit is set in smf89BoostInfo()
SMF89_SpeedBoost_Active = 0x40
-
smf30BoostClass
Return BoostClass if Speed Boost or zIIP Boost was active, otherwise null- Returns:
- BoostClass if boost was active
-
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
-