|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.dxc.api.datatypes.DxcData
org.dxc.api.datatypes.ProfilingData
public class ProfilingData
Data structure for DA profiling messages.
Constructor Summary | |
---|---|
ProfilingData(long cpuTime,
long maxMem)
Constructs with timestamp set to current time. |
|
ProfilingData(long timestamp,
long cpuTime,
long maxMem)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
long |
getCpuTime()
Returns total process cpu time. |
long |
getMaxMem()
Returns maximum process memory usage. |
int |
hashCode()
|
OutputStream |
put(OutputStream os)
Prints DxcData. |
Methods inherited from class org.dxc.api.datatypes.DxcData |
---|
getCurrentTime, getSource, getTimeStamp, setSource, setTimeStamp, toString |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProfilingData(long timestamp, long cpuTime, long maxMem)
timestamp
- - message timestamp.cpuTime
- - Total process cpu timemaxMem
- - Maximum process memory usagepublic ProfilingData(long cpuTime, long maxMem)
cpuTime
- - Total process cpu timemaxMem
- - Maximum process memory usageMethod Detail |
---|
public long getCpuTime()
public long getMaxMem()
public OutputStream put(OutputStream os)
DxcData
put
in class DxcData
public boolean equals(Object o)
equals
in class DxcData
public int hashCode()
hashCode
in class DxcData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |