public class NodeExecutionInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
long |
cpuTime
Total cpu time used by the tasks.
|
long |
userTime
Total user time used by the tasks.
|
Constructor and Description |
---|
NodeExecutionInfo()
Default no-arg constructor.
|
NodeExecutionInfo(long cpuTime,
long userTime)
Default no-args constructor.
|
Modifier and Type | Method and Description |
---|---|
NodeExecutionInfo |
add(NodeExecutionInfo other)
Add the times of another instance to this one.
|
NodeExecutionInfo |
subtract(NodeExecutionInfo other)
Subtract the times of another instance from this one.
|
public long cpuTime
public long userTime
public NodeExecutionInfo()
public NodeExecutionInfo(long cpuTime, long userTime)
cpuTime
- total cpu time used by the tasks.userTime
- total user time used by the tasks.public NodeExecutionInfo add(NodeExecutionInfo other)
other
- the other execution info object from which to add the values.public NodeExecutionInfo subtract(NodeExecutionInfo other)
other
- the other execution info object from which to subtract the values.Copyright © 2005-2012 JPPF Team.