public final class UsageData extends SmfData
Modifier and Type | Field and Description |
---|---|
static int |
SMF89_BoostClass_IPL
Constant: 0x01 = 1
|
static int |
SMF89_BoostClass_Mask
Constant: 0x07 = 7
|
static int |
SMF89_BoostClass_RP
Constant: 0x03 = 3
|
static int |
SMF89_BoostClass_Shutdown
Constant: 0x02 = 2
|
static int |
SMF89_SpeedBoost_Active
Constant: 0x40 = 64
|
static int |
SMF89_zIIPBoost_Active
Constant: 0x80 = 128
|
static int |
SMF89AFS
Constant: 0x40 = 64
|
static int |
SMF89HCS
Constant: 0x80 = 128
|
static int |
SMF89HTR
Constant: 0x08 = 8
|
static int |
SMF89PLV
Constant: 0x10 = 16
|
static int |
SMF89TSH
Constant: 0x20 = 32
|
static int |
SMF89UNU
Constant: 0x40 = 64
|
static int |
SMF89UUN
Constant: 0x80 = 128
|
static int |
SMF89UUS
Constant: 0x20 = 32
|
Modifier and Type | Method and Description |
---|---|
static UsageData |
create(byte[] Data,
int offset,
int length)
create is intended for internal use only.
|
boolean |
smf89afs()
Return true if
SMF89AFS bit in smf89uf2() is set. |
boolean |
smf89BoostClassIpl()
Return true if
smf89BoostInfo() masked by SMF89_BoostClass_Mask equals SMF89_BoostClass_IPL . |
boolean |
smf89BoostClassRp()
Return true if
smf89BoostInfo() masked by SMF89_BoostClass_Mask equals SMF89_BoostClass_RP . |
boolean |
smf89BoostClassShutdown()
Return true if
smf89BoostInfo() masked by SMF89_BoostClass_Mask equals SMF89_BoostClass_Shutdown . |
int |
smf89BoostInfo()
SMF89_BoostInfo value.
|
long |
smf89countAsTrad()
SMF89CountASTrad value.
|
long |
smf89countAsTrg()
SMF89CountASTRG value.
|
boolean |
smf89hcs()
Return true if
SMF89HCS bit in smf89uf2() is set. |
boolean |
smf89htr()
Return true if
SMF89HTR bit in smf89uf2() is set. |
boolean |
smf89plv()
Return true if
SMF89PLV bit in smf89uf2() is set. |
boolean |
smf89SpeedBoostActive()
Return true if
SMF89_SpeedBoost_Active bit in smf89BoostInfo() is set. |
boolean |
smf89tsh()
Return true if
SMF89TSH bit in smf89uf2() is set. |
Duration |
smf89uct()
SMF89UCT as a Duration.
|
double |
smf89uctRawValue()
SMF89UCT raw value.
|
double |
smf89uctSeconds()
SMF89UCT in seconds.
|
int |
smf89uf2()
SMF89UF2 value.
|
int |
smf89ufg()
SMF89UFG value.
|
boolean |
smf89unu()
Return true if
SMF89UNU bit in smf89ufg() is set. |
String |
smf89upi()
SMF89UPI value.
|
String |
smf89upn()
SMF89UPN value.
|
String |
smf89upo()
SMF89UPO value.
|
String |
smf89upq()
SMF89UPQ value.
|
String |
smf89upv()
SMF89UPV value.
|
byte[] |
smf89urd()
SMF89URD data.
|
BigInteger |
smf89urdAsBigInteger()
SMF89URD value as a BigInteger.
|
long |
smf89urdAsBinary()
SMF89URD as 64 bit binary value, throws exception if SMF89URD overflows 64 bit signed integer.
|
Duration |
smf89urdAsCpuTime()
SMF89URD as a Duration.
|
double |
smf89urdLongFP()
SMF89URD as long floating point.
|
int |
smf89urt()
SMF89URT value.
|
Duration |
smf89usr()
SMF89USR as a Duration.
|
double |
smf89usrRawValue()
SMF89USR raw value.
|
double |
smf89usrSeconds()
SMF89USR in seconds.
|
boolean |
smf89uun()
Return true if
SMF89UUN bit in smf89ufg() is set. |
boolean |
smf89uus()
Return true if
SMF89UUS bit in smf89ufg() is set. |
Duration |
smf89uzt()
SMF89UZT as a Duration.
|
double |
smf89uztRawValue()
SMF89UZT raw value.
|
double |
smf89uztSeconds()
SMF89UZT in seconds.
|
boolean |
smf89ziipBoostActive()
Return true if
SMF89_zIIPBoost_Active bit in smf89BoostInfo() is set. |
createSection, dump, dump, dump, dump, equals, getBytes, getBytes, getDataArray, getTriplet, hashCode, toString
public static final int SMF89UUN
public static final int SMF89UNU
public static final int SMF89UUS
public static final int SMF89HCS
public static final int SMF89AFS
public static final int SMF89TSH
public static final int SMF89PLV
public static final int SMF89HTR
public static final int SMF89_zIIPBoost_Active
public static final int SMF89_SpeedBoost_Active
public static final int SMF89_BoostClass_Mask
public static final int SMF89_BoostClass_IPL
public static final int SMF89_BoostClass_Shutdown
public static final int SMF89_BoostClass_RP
public String smf89upo()
public String smf89upn()
public String smf89upv()
public String smf89upq()
public String smf89upi()
public Duration smf89uct()
Duration
public double smf89uctSeconds()
public double smf89uctRawValue()
public Duration smf89usr()
Duration
public double smf89usrSeconds()
public double smf89usrRawValue()
public int smf89ufg()
public boolean smf89uun()
SMF89UUN
bit in smf89ufg()
is set.SMF89UUN = 0x80
public boolean smf89unu()
SMF89UNU
bit in smf89ufg()
is set.SMF89UNU = 0x40
public boolean smf89uus()
SMF89UUS
bit in smf89ufg()
is set.SMF89UUS = 0x20
public int smf89uf2()
public boolean smf89hcs()
SMF89HCS
bit in smf89uf2()
is set.SMF89HCS = 0x80
public boolean smf89afs()
SMF89AFS
bit in smf89uf2()
is set.SMF89AFS = 0x40
public boolean smf89tsh()
SMF89TSH
bit in smf89uf2()
is set.SMF89TSH = 0x20
public boolean smf89plv()
SMF89PLV
bit in smf89uf2()
is set.SMF89PLV = 0x10
public boolean smf89htr()
SMF89HTR
bit in smf89uf2()
is set.SMF89HTR = 0x08
public int smf89BoostInfo()
public boolean smf89ziipBoostActive()
SMF89_zIIPBoost_Active
bit in smf89BoostInfo()
is set.SMF89_zIIPBoost_Active = 0x80
public boolean smf89SpeedBoostActive()
SMF89_SpeedBoost_Active
bit in smf89BoostInfo()
is set.SMF89_SpeedBoost_Active = 0x40
public boolean smf89BoostClassIpl()
smf89BoostInfo()
masked by SMF89_BoostClass_Mask equals SMF89_BoostClass_IPL
.smf89BoostInfo()
& SMF89_BoostClass_Mask equals SMF89_BoostClass_IPL
SMF89_BoostClass_IPL = 0x01
public boolean smf89BoostClassShutdown()
smf89BoostInfo()
masked by SMF89_BoostClass_Mask equals SMF89_BoostClass_Shutdown
.smf89BoostInfo()
& SMF89_BoostClass_Mask equals SMF89_BoostClass_Shutdown
SMF89_BoostClass_Shutdown = 0x02
public boolean smf89BoostClassRp()
smf89BoostInfo()
masked by SMF89_BoostClass_Mask equals SMF89_BoostClass_RP
.smf89BoostInfo()
& SMF89_BoostClass_Mask equals SMF89_BoostClass_RP
SMF89_BoostClass_RP = 0x03
public int smf89urt()
public byte[] smf89urd()
public Duration smf89urdAsCpuTime()
Duration
public long smf89urdAsBinary()
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.public BigInteger smf89urdAsBigInteger()
smf89urdAsBinary()
may provide better performance
if the value will not exceed the maximum value for a signed long.
public double smf89urdLongFP()
public Duration smf89uzt()
Duration
public double smf89uztSeconds()
public double smf89uztRawValue()
public long smf89countAsTrad()
public long smf89countAsTrg()
public static UsageData create(byte[] Data, int offset, int length)
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the sectionCopyright © 2020 Black Hill Software Pty Ltd. All rights reserved.