edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor Class Reference

Inheritance diagram for edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor:
Inheritance graph
[legend]
Collaboration diagram for edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor:
Collaboration graph
[legend]

List of all members.

Classes

class  CombineCallerScopeMetric
class  ListCombinedScopes

Public Member Functions

 CallersViewScopeVisitor (Experiment experiment, Scope cvrs, int nMetrics, boolean dodebug, MetricValuePropagationFilter filter)
void visit (CallSiteScope scope, ScopeVisitType vt)
void visit (Scope scope, ScopeVisitType vt)
void visit (RootScope scope, ScopeVisitType vt)
void visit (LoadModuleScope scope, ScopeVisitType vt)
void visit (FileScope scope, ScopeVisitType vt)
void visit (ProcedureScope scope, ScopeVisitType vt)
void visit (AlienScope scope, ScopeVisitType vt)
void visit (LoopScope scope, ScopeVisitType vt)
void visit (StatementRangeScope scope, ScopeVisitType vt)
void visit (LineScope scope, ScopeVisitType vt)
void visit (GroupScope scope, ScopeVisitType vt)

Static Public Member Functions

static LinkedList
< CallSiteScopeCallerView
createCallChain (Scope scope_cct, Scope scope_cost, AbstractCombineMetric combine, MetricValuePropagationFilter inclusiveOnly, MetricValuePropagationFilter exclusiveOnly)
static void mergeCallerPath (IMergedScope.MergingStatus status, int counter_to_assign, Scope callee, LinkedList< CallSiteScopeCallerView > callerPathList, AbstractCombineMetric combine, MetricValuePropagationFilter inclusiveOnly, MetricValuePropagationFilter exclusiveOnly)
static void addNewPathIntoTree (Scope callee, CallSiteScopeCallerView first, LinkedList< CallSiteScopeCallerView > callerPathList)

Private Member Functions

void prepareCallChain (Scope scope, ProcedureScope callee)
ProcedureScope createProcedureIfNecessary (Scope cct_s)
void decrementCounter ()

Private Attributes

final CombineCallerScopeMetric combinedMetrics
final
ExclusiveOnlyMetricPropagationFilter 
exclusiveOnly
final
InclusiveOnlyMetricPropagationFilter 
inclusiveOnly
final ListCombinedScopes listCombinedScopes
Hashtable< Integer, Scopecalleeht = new Hashtable<Integer, Scope>()
Scope callersViewRootScope

Static Private Attributes

static final String HiddenProcedures = "Partial Call Paths"
 hack: list of procedures to be hidden from the view at the moment, we only have one.

Detailed Description

Definition at line 24 of file CallersViewScopeVisitor.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.CallersViewScopeVisitor ( Experiment  experiment,
Scope  cvrs,
int  nMetrics,
boolean  dodebug,
MetricValuePropagationFilter  filter 
)

Member Function Documentation

static void edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.addNewPathIntoTree ( Scope  callee,
CallSiteScopeCallerView  first,
LinkedList< CallSiteScopeCallerView callerPathList 
) [static, inherited]
static LinkedList<CallSiteScopeCallerView> edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.createCallChain ( Scope  scope_cct,
Scope  scope_cost,
AbstractCombineMetric  combine,
MetricValuePropagationFilter  inclusiveOnly,
MetricValuePropagationFilter  exclusiveOnly 
) [static, inherited]
ProcedureScope edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.createProcedureIfNecessary ( Scope  cct_s  )  [private]
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.decrementCounter (  )  [private]
static void edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.mergeCallerPath ( IMergedScope.MergingStatus  status,
int  counter_to_assign,
Scope  callee,
LinkedList< CallSiteScopeCallerView callerPathList,
AbstractCombineMetric  combine,
MetricValuePropagationFilter  inclusiveOnly,
MetricValuePropagationFilter  exclusiveOnly 
) [static, inherited]
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.prepareCallChain ( Scope  scope,
ProcedureScope  callee 
) [private]
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( GroupScope  scope,
ScopeVisitType  vt 
)
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( LineScope  scope,
ScopeVisitType  vt 
)
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( StatementRangeScope  scope,
ScopeVisitType  vt 
)
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( LoopScope  scope,
ScopeVisitType  vt 
)
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( AlienScope  scope,
ScopeVisitType  vt 
)

Definition at line 123 of file CallersViewScopeVisitor.java.

void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( ProcedureScope  scope,
ScopeVisitType  vt 
)
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( FileScope  scope,
ScopeVisitType  vt 
)
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( LoadModuleScope  scope,
ScopeVisitType  vt 
)
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( RootScope  scope,
ScopeVisitType  vt 
)
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( Scope  scope,
ScopeVisitType  vt 
)
void edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit ( CallSiteScope  scope,
ScopeVisitType  vt 
)

Member Data Documentation

Hashtable<Integer, Scope> edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.calleeht = new Hashtable<Integer, Scope>() [private]

hack: list of procedures to be hidden from the view at the moment, we only have one.

Definition at line 31 of file CallersViewScopeVisitor.java.

Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit().


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1