org.objectweb.proactive.calcium.statistics
Interface Stats

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
StatsImpl

public interface Stats
extends java.io.Serializable


Method Summary
 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()
           
 

Method Detail

getWallClockTime

long getWallClockTime()
Returns:
Returns the time elapsed since the creation of the task until this task is finished.

getComputationTime

long getComputationTime()
The computation time will ideally correspond to the CPU Time or, if the JVM does not support it, the wallclock time. In comparison with the processing time, this time does not include the network and other overheads. Note that if the measured code executed a fork, the child's cpu time will not be reflected.

Returns:
Returns the computation time spent by this task.

getProcessingTime

long getProcessingTime()
The processing time represents the time this node was asigned to some resource for computation. This time includes the time the node took to travel through the network.

Returns:
Returns the time spent by this node in processing state.

getWaitingTime

long getWaitingTime()
The waiting time represent the time this node spent waiting for other related nodes to finish. In particular for sub-nodes spawned from this one.

Returns:
Returns the time this node spent in waiting state.

getReadyTime

long getReadyTime()
The ready time represents the time this node was ready for execution waiting for an available resource.

Returns:
Returns the time spent by this node in ready state.

getResultsTime

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.

Returns:
Returns the time spent by this tasks in results state.

getTreeSpan

float getTreeSpan()
The tree span is the average number of branches of internal tree nodes. It is calculated as: (#Nodes - 1)/(# Inner Nodes).

Returns:
Returns the average number of branches of this tree.

getTreeDepth

float getTreeDepth()
The average depth of the tree, calculated as logB(#Nodes -1), where the base B is the average tree span.

Returns:
The average depth of the tree.

getTreeSize

int getTreeSize()
Returns:
Returns the number of nodes in the tree.

getExcercise

Exercise getExcercise(Muscle muscle)
Parameters:
The - muscle of interest
Returns:
The excercise of the specified muscle, or null if no statistics are available for this muscle.


Copyright 2001-2007 INRIA All Rights Reserved.