public static class TimeMap.MapElement extends AbstractLongHashMap.MapElement
| Modifier and Type | Field and Description |
|---|---|
private long |
startCpuTime
Stores the start CPU time.
|
private long |
startSystemTime
Stores the start system time.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MapElement(long key)
Constructor of a map element.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getStartCpuTime()
Returns the start CPU time.
|
long |
getStartSystemTime()
Returns the start system time.
|
void |
setStartCpuTime(long startCpuTime)
Changes the start CPU time.
|
void |
setStartSystemTime(long startSystemTime)
Changes the start system time.
|
void |
setTimes(long startCpuTime,
long startSystemTime)
Changes start CPU and system time.
|
void |
takeOver(TimeMap.MapElement elt)
Takes over the information stored in
elt. |
atInsert, beforeRemove, getKey, getNextprivate long startCpuTime
private long startSystemTime
protected MapElement(long key)
key - the hash key of the elementpublic long getStartCpuTime()
public long getStartSystemTime()
public void setStartCpuTime(long startCpuTime)
startCpuTime - the new start CPU timepublic void setStartSystemTime(long startSystemTime)
startSystemTime - the new start system timepublic void setTimes(long startCpuTime,
long startSystemTime)
startCpuTime - the new start CPU timestartSystemTime - the new start system timepublic void takeOver(TimeMap.MapElement elt)
elt.elt - the map element storing the information