edu.ufl.hcs.ppw.pdm.StatData Interface Reference

A profile data entry. More...

Inheritance diagram for edu.ufl.hcs.ppw.pdm.StatData:

edu.ufl.hcs.ppw.pdm.BaselineStatData edu.ufl.hcs.ppw.pdm.DerivedStatData edu.ufl.hcs.ppw.pdm.DerivedStatData edu.ufl.hcs.ppw.pdm.v1_1.PPWStatData edu.ufl.hcs.ppw.pdm.v1_1.StatDataImpl

List of all members.

Public Member Functions

int getThreadID ()
 The thread ID for this stat.
int getSourceID ()
 The source ID for this stat.
int getParentID ()
 The stat ID that corresponds to the parent of this timer.
int getSiblingID ()
 The stat ID that corresponds to the next sibling of this timer.
int getChildID ()
 The stat ID that corresponds to the first child of this timer.
int getCalls ()
 Number of calls to this callpath.
int getSubroutineCalls ()
 Number of subroutine calls leading out of this callpath.
long getInclusiveTime ()
 Inclusive time spent in this callpath, in nanoseconds.
long getExclusiveTime ()
 Exclusive time spent in this callpath, in nanoseconds.
long getMinimumInclusiveTime ()
 Minimum inclusive time across each call.
long getMaximumInclusiveTime ()
 Maximum inclusive time across each call.
long[] getInclusiveCounters ()
 Inclusive counter values; indexes are given by MetricData instances.
long[] getExclusiveCounters ()
 Exclusive counter values; indexes are given by MetricData instances.
double getInclusivePercentage ()
 Gets percentage of inclusive time in terms of how much this stat contributes to overall execution time.
double getInclusiveRelativePercentage ()
 Gets percentage of inclusive time in terms of how much this stat contributes to overall execution time of its parent node.
double getExclusivePercentage ()
 Gets percentage of exclusive time in terms of how much this stat contributes to overall execution time.
void setupPercentages (long parentValue, long totalValue)
 Convenience function for setting up percentage stuff.
boolean hasHighOverhead ()
 Returns true if this stat might have been perturbed by measurement code at runtime.


Detailed Description

A profile data entry.

The child and next pointers are used to linearly encode a N-ary tree with low disk overhead.

Author:
Adam Leko

Member Function Documentation

int edu.ufl.hcs.ppw.pdm.StatData.getChildID (  ) 

The stat ID that corresponds to the first child of this timer.

Will be < 0 if this stat has no children.

Implemented in edu.ufl.hcs.ppw.pdm.DerivedStatData, and edu.ufl.hcs.ppw.pdm.v1_1.StatDataImpl.

Referenced by edu.ufl.hcs.ppw.pdm.highlevel.CallTree.doGenerateFlatTree(), and edu.ufl.hcs.ppw.pdm.highlevel.CallTree.doInitFromStat().

int edu.ufl.hcs.ppw.pdm.StatData.getParentID (  ) 

The stat ID that corresponds to the parent of this timer.

will be < 0 if this is a root-level timer.

Implemented in edu.ufl.hcs.ppw.pdm.DerivedStatData, and edu.ufl.hcs.ppw.pdm.v1_1.StatDataImpl.

Referenced by edu.ufl.hcs.ppw.pdm.highlevel.HighLevelPDM.initData().

int edu.ufl.hcs.ppw.pdm.StatData.getSiblingID (  ) 

The stat ID that corresponds to the next sibling of this timer.

Will be < 0 if this is the last sibling in a level.

Implemented in edu.ufl.hcs.ppw.pdm.DerivedStatData, and edu.ufl.hcs.ppw.pdm.v1_1.StatDataImpl.

Referenced by edu.ufl.hcs.ppw.pdm.highlevel.CallTree.doInitFromStat().

void edu.ufl.hcs.ppw.pdm.StatData.setupPercentages ( long  parentValue,
long  totalValue 
)

Convenience function for setting up percentage stuff.

Implemented in edu.ufl.hcs.ppw.pdm.BaselineStatData.

Referenced by edu.ufl.hcs.ppw.pdm.highlevel.CallTree.updatePercentagesCalltree().


The documentation for this interface was generated from the following file:

Generated on Sat Sep 29 08:46:42 2012 for PPW by  doxygen 1.5.8