|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.proactive.calcium.statistics.StatsImpl
public class StatsImpl
| Constructor Summary | |
|---|---|
StatsImpl()
|
|
| Method Summary | |
|---|---|
void |
addChildStats(StatsImpl stats)
|
void |
addComputationTime(long time)
|
void |
exitProcessingState()
|
void |
exitReadyState()
|
void |
exitResultsState()
|
void |
exitWaitingState()
|
long |
getComputationTime()
The computation time will ideally correspond to the CPU Time or, if the JVM does not support it, the wallclock time. |
Exercise |
getExcercise(Muscle muscle)
|
long |
getProcessingTime()
The processing time represents the time this node was asigned to some resource for computation. |
long |
getReadyTime()
The ready time represents the time this node was ready for execution waiting for an available resource. |
long |
getResultsTime()
The results time represents the time since the task is considered finished, and the time the client actually asks (and gets) the result. |
float |
getTreeDepth()
The average depth of the tree, calculated as logB(#Nodes -1), where the base B is the average tree span. |
int |
getTreeSize()
|
float |
getTreeSpan()
The tree span is the average number of branches of internal tree nodes. |
long |
getWaitingTime()
The waiting time represent the time this node spent waiting for other related nodes to finish. |
long |
getWallClockTime()
|
Workout |
getWorkout()
|
void |
markFinishTime()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatsImpl()
| Method Detail |
|---|
public long getComputationTime()
Stats
getComputationTime in interface Statspublic void addComputationTime(long time)
public void exitReadyState()
public void exitProcessingState()
public void exitWaitingState()
public void exitResultsState()
public java.lang.String toString()
toString in class java.lang.Objectpublic void markFinishTime()
public Workout getWorkout()
public void addChildStats(StatsImpl stats)
public long getWallClockTime()
getWallClockTime in interface Statspublic long getProcessingTime()
Stats
getProcessingTime in interface Statspublic long getReadyTime()
Stats
getReadyTime in interface Statspublic long getResultsTime()
Stats
getResultsTime in interface Statspublic int getTreeSize()
getTreeSize in interface Statspublic long getWaitingTime()
Stats
getWaitingTime in interface Statspublic float getTreeDepth()
Stats
getTreeDepth in interface Statspublic float getTreeSpan()
Stats
getTreeSpan in interface Statspublic Exercise getExcercise(Muscle muscle)
getExcercise in interface Stats
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||