A single-line scope in an HPCView experiment. More...
Public Member Functions | |
LineScope (BaseExperiment experiment, SourceFile sourceFile, int lineNumber, int cct_id, int flat_id) | |
String | getName () |
String | getShortName () |
boolean | isequal (LineScope ls) |
int | getLineNumber () |
Scope | duplicate () |
void | accept (IScopeVisitor visitor, ScopeVisitType vt) |
int | getFlatIndex () |
int | getCCTIndex () |
void | incrementCounter () |
void | decrementCounter () |
void | setCounter (int counter) |
int | getCounter () |
boolean | isCounterPositif () |
boolean | isCounterZero () |
int | getCpid () |
void | setCpid (int _cpid) |
String | getToolTip () |
String | toString () |
int | hashCode () |
SourceFile | getSourceFile () |
int | getFirstLineNumber () |
int | getLastLineNumber () |
Scope | getParentScope () |
void | setParentScope (Scope parentScope) |
int | getSubscopeCount () |
Scope | getSubscope (int index) |
void | addSubscope (Scope subscope) |
boolean | hasMetrics () |
boolean | hasNonzeroMetrics () |
BaseExperiment | getExperiment () |
void | setExperiment (BaseExperiment exp) |
MetricValue | getMetricValue (BaseMetric metric) |
MetricValue | getMetricValue (int index) |
void | setMetricValue (int index, MetricValue value) |
void | accumulateMetrics (Scope source, MetricValuePropagationFilter filter, int nMetrics) |
void | accumulateMetric (Scope source, int src_i, int targ_i, MetricValuePropagationFilter filter) |
void | backupMetricValues () |
MetricValue[] | getMetricValues () |
void | setMetricValues (MetricValue values[]) |
MetricValue[] | getCombinedValues () |
void | combine (Scope source, MetricValuePropagationFilter filter) |
void | safeCombine (Scope source, MetricValuePropagationFilter filter) |
void | copyMetrics (Scope targetScope, int offset) |
void | dfsVisitScopeTree (IScopeVisitor sv) |
void | dfsVisitFilterScopeTree (FilterScopeVisitor sv) |
void | dispose () |
boolean | equals (final Object object) |
Object[] | getChildren () |
Returns the child nodes. | |
TreeNode | getParent () |
Returns the parent node. | |
Object | getValue () |
Returns the value held by this node. | |
boolean | hasChildren () |
Returns whether the tree has any children. | |
void | add (TreeNode child) |
void | remove (TreeNode child) |
Remove a child. | |
void | remove (int index) |
Remove a child for a given index. | |
void | setParent (final TreeNode parent) |
Sets the parent for this node. | |
TreeNode | getChildAt (int index) |
int | getChildCount () |
Iterator< TreeNode > | getIterator () |
Return the iterator of the children. | |
Static Public Member Functions | |
static final int | hashCode (final Object object) |
Provides a hash code for the object -- defending against null . | |
static final boolean | equals (final Object left, final Object right) |
Checks whether the two objects are null -- allowing for null . | |
Public Attributes | |
int | iSourceCodeAvailability = Scope.SOURCE_CODE_UNKNOWN |
Static Public Attributes | |
static final int | NO_LINE_NUMBER = -169 |
The value used to indicate "no line number". | |
static final int | SOURCE_CODE_UNKNOWN = 0 |
static final int | SOURCE_CODE_AVAILABLE = 1 |
static final int | SOURCE_CODE_NOT_AVAILABLE = 2 |
Protected Member Functions | |
String | getSourceCitation () |
String | getLineNumberCitation () |
void | ensureMetricStorage () |
boolean | isExperimentHasMetrics () |
Protected Attributes | |
BaseExperiment | experiment |
The experiment owning this scope. | |
SourceFile | sourceFile |
The source file containing this scope. | |
int | flat_node_index |
the scope identifier | |
int | firstLineNumber |
The first line number of this scope. | |
int | lastLineNumber |
The last line number of this scope. | |
String | srcCitation |
source citation | |
int | cpid |
Object | value |
The value contained in this node. | |
Static Protected Attributes | |
static int | idMax = 0 |
The current maximum number of ID for all scopes. |
A single-line scope in an HPCView experiment.
Definition at line 35 of file LineScope.java.
edu.rice.cs.hpc.data.experiment.scope.LineScope.LineScope | ( | BaseExperiment | experiment, | |
SourceFile | sourceFile, | |||
int | lineNumber, | |||
int | cct_id, | |||
int | flat_id | |||
) |
Definition at line 52 of file LineScope.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.LineScope.duplicate().
void edu.rice.cs.hpc.data.experiment.scope.LineScope.accept | ( | IScopeVisitor | visitor, | |
ScopeVisitType | vt | |||
) |
Reimplemented from edu.rice.cs.hpc.data.experiment.scope.Scope.
Definition at line 151 of file LineScope.java.
References edu.rice.cs.hpc.data.experiment.scope.visitors.IScopeVisitor.visit().
void edu.rice.cs.hpc.data.experiment.scope.Scope.accumulateMetric | ( | Scope | source, | |
int | src_i, | |||
int | targ_i, | |||
MetricValuePropagationFilter | filter | |||
) | [inherited] |
Definition at line 581 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.accumulateMetricValue(), edu.rice.cs.hpc.data.experiment.scope.filters.MetricValuePropagationFilter.doPropagation(), edu.rice.cs.hpc.data.experiment.scope.Scope.getMetricValue(), edu.rice.cs.hpc.data.experiment.metric.MetricValue.getValue(), and edu.rice.cs.hpc.data.experiment.metric.MetricValue.NONE.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.accumulateMetrics(), edu.rice.cs.hpc.data.experiment.scope.visitors.DerivedMetricVisitor.accumulateToParent(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.checkInlinedScope(), and edu.rice.cs.hpc.data.experiment.scope.Scope.combine().
void edu.rice.cs.hpc.data.experiment.scope.Scope.accumulateMetrics | ( | Scope | source, | |
MetricValuePropagationFilter | filter, | |||
int | nMetrics | |||
) | [inherited] |
Definition at line 572 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.accumulateMetric().
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.ExclusiveCallingContextVisitor.accumulateAncestor(), edu.rice.cs.hpc.data.experiment.Experiment.accumulateMetricsFromKids(), edu.rice.cs.hpc.data.experiment.scope.visitors.InclusiveMetricsScopeVisitor.accumulateToParent(), edu.rice.cs.hpc.data.experiment.scope.visitors.ExclusiveCallingContextVisitor.add(), edu.rice.cs.hpc.data.experiment.Experiment.createCallersView(), edu.rice.cs.hpc.data.experiment.Experiment.createFlatView(), and edu.rice.cs.hpc.data.experiment.scope.visitors.ExclusiveCallingContextVisitor.visit().
void edu.rice.cs.hpc.data.experiment.scope.TreeNode.add | ( | TreeNode | child | ) | [inherited] |
Definition at line 127 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.children.
Referenced by edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.addChildren(), edu.rice.cs.hpc.data.experiment.scope.Scope.addSubscope(), edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.flatten(), and edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.removeChild().
void edu.rice.cs.hpc.data.experiment.scope.Scope.addSubscope | ( | Scope | subscope | ) | [inherited] |
Definition at line 476 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.add().
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.addChild(), edu.rice.cs.hpc.data.experiment.scope.visitors.BaseDuplicateScopeTreesVisitor.addMetricColumns(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.addNewPathIntoTree(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.beginScope(), edu.rice.cs.hpc.data.experiment.Experiment.beginScope(), and edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.createProcedureIfNecessary().
void edu.rice.cs.hpc.data.experiment.scope.Scope.backupMetricValues | ( | ) | [inherited] |
Definition at line 613 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.combinedMetrics, edu.rice.cs.hpc.data.experiment.scope.Scope.experiment, edu.rice.cs.hpc.data.experiment.scope.Scope.metrics, edu.rice.cs.hpc.data.experiment.metric.MetricValue.NONE, and edu.rice.cs.hpc.data.experiment.scope.TreeNode.value.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.FinalizeMetricVisitorWithBackup.setValue().
void edu.rice.cs.hpc.data.experiment.scope.Scope.combine | ( | Scope | source, | |
MetricValuePropagationFilter | filter | |||
) | [inherited] |
Definition at line 704 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.accumulateMetric(), edu.rice.cs.hpc.data.experiment.metric.AggregateMetric.combine(), edu.rice.cs.hpc.data.experiment.scope.filters.MetricValuePropagationFilter.doPropagation(), edu.rice.cs.hpc.data.experiment.scope.Scope.experiment, edu.rice.cs.hpc.data.experiment.BaseExperimentWithMetrics.getMetric(), edu.rice.cs.hpc.data.experiment.BaseExperimentWithMetrics.getMetricCount(), and edu.rice.cs.hpc.data.experiment.scope.Scope.isExperimentHasMetrics().
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.addCostIfNecessary(), edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.CombineCallerScopeMetric.combine(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.CombineMetricUsingCopyNoCondition.combine(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.IncrementalCombineMetricUsingCopy.combine(), edu.rice.cs.hpc.data.experiment.metric.CombineMetricUsingCopy.combine(), edu.rice.cs.hpc.data.experiment.metric.AbstractCombineMetric.combine_internal(), and edu.rice.cs.hpc.data.experiment.scope.Scope.safeCombine().
void edu.rice.cs.hpc.data.experiment.scope.Scope.copyMetrics | ( | Scope | targetScope, | |
int | offset | |||
) | [inherited] |
Definition at line 792 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.ensureMetricStorage(), edu.rice.cs.hpc.data.experiment.metric.MetricValue.getAnnotationValue(), edu.rice.cs.hpc.data.experiment.metric.MetricValue.getValue(), edu.rice.cs.hpc.data.experiment.scope.Scope.hasMetrics(), edu.rice.cs.hpc.data.experiment.scope.Scope.metrics, and edu.rice.cs.hpc.data.experiment.metric.MetricValue.NONE.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.BaseDuplicateScopeTreesVisitor.accumulateMetrics(), edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.flatten(), and edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.mergeMetrics().
void edu.rice.cs.hpc.data.experiment.scope.Scope.decrementCounter | ( | ) | [inherited] |
Definition at line 211 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.flat_node_index, edu.rice.cs.hpc.data.experiment.scope.Scope.getCCTIndex(), edu.rice.cs.hpc.data.experiment.scope.Scope.getName(), edu.rice.cs.hpc.data.experiment.scope.Scope.iCounter, and edu.rice.cs.hpc.data.experiment.scope.Scope.isCounterPositif().
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.decrementCounter(), and edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.decrementCounter().
void edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitFilterScopeTree | ( | FilterScopeVisitor | sv | ) | [inherited] |
Definition at line 846 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.accept(), edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitFilterScopeTree(), edu.rice.cs.hpc.data.experiment.scope.TreeNode.getChildAt(), edu.rice.cs.hpc.data.experiment.scope.TreeNode.getChildCount(), edu.rice.cs.hpc.data.experiment.scope.TreeNode.getIterator(), and edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.needToContinue().
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitFilterScopeTree(), and edu.rice.cs.hpc.data.experiment.BaseExperiment.filter().
void edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitScopeTree | ( | IScopeVisitor | sv | ) | [inherited] |
Definition at line 826 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.accept(), edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitScopeTree(), edu.rice.cs.hpc.data.experiment.scope.Scope.getSubscope(), and edu.rice.cs.hpc.data.experiment.scope.Scope.getSubscopeCount().
Referenced by edu.rice.cs.hpc.data.experiment.Experiment.addDerivedMetric(), edu.rice.cs.hpc.data.experiment.Experiment.addInclusiveMetrics(), edu.rice.cs.hpc.data.experiment.Experiment.addPercents(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.addSubTree(), edu.rice.cs.hpc.data.experiment.Experiment.computeExclusiveMetrics(), edu.rice.cs.hpc.data.experiment.Experiment.createCallersView(), edu.rice.cs.hpc.data.experiment.Experiment.createFlatView(), edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitScopeTree(), edu.rice.cs.hpc.data.experiment.BaseExperiment.dispose(), edu.rice.cs.hpc.data.experiment.Experiment.finalizeAggregateMetrics(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.getAllChildren(), edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController.init(), edu.rice.cs.hpc.data.experiment.merge.ExperimentMerger.merge(), edu.rice.cs.hpc.data.experiment.merge.ExperimentMerger.mergeScopeTrees(), edu.rice.cs.hpc.data.experiment.xml.PrintFileXML.print(), and edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.TreeSimilarity().
void edu.rice.cs.hpc.data.experiment.scope.Scope.dispose | ( | ) | [inherited] |
Reimplemented from edu.rice.cs.hpc.data.experiment.scope.TreeNode.
Definition at line 874 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.combinedMetrics, edu.rice.cs.hpc.data.experiment.scope.Scope.experiment, edu.rice.cs.hpc.data.experiment.scope.Scope.metrics, and edu.rice.cs.hpc.data.experiment.scope.Scope.srcCitation.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.DisposeResourcesVisitor.inspect().
Scope edu.rice.cs.hpc.data.experiment.scope.LineScope.duplicate | ( | ) | [virtual] |
Implements edu.rice.cs.hpc.data.experiment.scope.Scope.
Definition at line 137 of file LineScope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.experiment, edu.rice.cs.hpc.data.experiment.scope.Scope.firstLineNumber, edu.rice.cs.hpc.data.experiment.scope.Scope.flat_node_index, edu.rice.cs.hpc.data.experiment.scope.Scope.getCCTIndex(), edu.rice.cs.hpc.data.experiment.scope.LineScope.LineScope(), and edu.rice.cs.hpc.data.experiment.scope.Scope.sourceFile.
Referenced by edu.rice.cs.hpc.data.experiment.scope.CallSiteScope.duplicate().
void edu.rice.cs.hpc.data.experiment.scope.Scope.ensureMetricStorage | ( | ) | [protected, inherited] |
Definition at line 746 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.experiment, edu.rice.cs.hpc.data.experiment.BaseExperimentWithMetrics.getMetricCount(), edu.rice.cs.hpc.data.experiment.scope.Scope.isExperimentHasMetrics(), edu.rice.cs.hpc.data.experiment.scope.Scope.makeMetricValueArray(), and edu.rice.cs.hpc.data.experiment.scope.Scope.metrics.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.accumulateMetricValue(), edu.rice.cs.hpc.data.experiment.scope.Scope.copyMetrics(), edu.rice.cs.hpc.data.experiment.scope.Scope.safeCombine(), and edu.rice.cs.hpc.data.experiment.scope.Scope.setMetricValue().
static final boolean edu.rice.cs.hpc.data.experiment.scope.TreeNode.equals | ( | final Object | left, | |
final Object | right | |||
) | [static, inherited] |
Checks whether the two objects are null
-- allowing for null
.
left | The left object to compare; may be null . | |
right | The right object to compare; may be null . |
true
if the two objects are equivalent; false
otherwise. Definition at line 234 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.equals().
boolean edu.rice.cs.hpc.data.experiment.scope.TreeNode.equals | ( | final Object | object | ) | [inherited] |
Definition at line 66 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.value.
Referenced by edu.rice.cs.hpc.data.experiment.scope.TreeNode.equals().
int edu.rice.cs.hpc.data.experiment.scope.Scope.getCCTIndex | ( | ) | [inherited] |
Definition at line 151 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.getValue().
Referenced by edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.checkNodesSimilarity(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.createCallChain(), edu.rice.cs.hpc.data.experiment.scope.Scope.decrementCounter(), edu.rice.cs.hpc.data.experiment.scope.StatementRangeScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.ProcedureScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LoopScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LineScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.AlienScope.duplicate(), edu.rice.cs.hpc.viewer.graph.GraphEditorInput.getID(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.getSortedChildren(), edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.getText(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.mergeCallerPath(), and edu.rice.cs.hpc.viewer.graph.GraphEditorHisto.plotData().
TreeNode edu.rice.cs.hpc.data.experiment.scope.TreeNode.getChildAt | ( | int | index | ) | [inherited] |
Definition at line 173 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.children.
Referenced by edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.addChildren(), edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitFilterScopeTree(), edu.rice.cs.hpc.viewer.scope.BaseScopeView.enableFilter(), edu.rice.cs.hpc.data.experiment.BaseExperiment.filter(), edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.flatten(), edu.rice.cs.hpc.data.experiment.scope.Scope.getSubscope(), edu.rice.cs.hpc.data.experiment.merge.ExperimentMerger.merge(), and edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActionsGUI.shouldFlattenBeEnabled().
int edu.rice.cs.hpc.data.experiment.scope.TreeNode.getChildCount | ( | ) | [inherited] |
Definition at line 187 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.children.
Referenced by edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.addChildren(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.areSameChildren(), edu.rice.cs.hpc.viewer.scope.ScopeZoom.canZoomIn(), edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitFilterScopeTree(), edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.flatten(), edu.rice.cs.hpc.data.experiment.scope.Scope.getSubscopeCount(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.isOnlyChild(), edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActionsGUI.shouldFlattenBeEnabled(), and edu.rice.cs.hpc.viewer.scope.BaseScopeView.updateDisplay().
Object [] edu.rice.cs.hpc.data.experiment.scope.TreeNode.getChildren | ( | ) | [inherited] |
Returns the child nodes.
Empty arrays are converted to null
before being returned.
null
, but never empty. There should be no null
children in the array. Definition at line 81 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.children.
Referenced by edu.rice.cs.hpc.data.experiment.scope.ProcedureScope.getAllChildren(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.getAllChildren(), edu.rice.cs.hpc.viewer.scope.bottomup.CallerViewContentProvider.getChildren(), edu.rice.cs.hpc.viewer.scope.AbstractContentProvider.getChildren(), edu.rice.cs.hpc.data.experiment.BaseExperiment.getRootScopeChildren(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.getSortedChildren(), and edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.removeChild().
MetricValue [] edu.rice.cs.hpc.data.experiment.scope.Scope.getCombinedValues | ( | ) | [inherited] |
Definition at line 669 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.combinedMetrics, edu.rice.cs.hpc.data.experiment.scope.Scope.experiment, edu.rice.cs.hpc.data.experiment.BaseExperimentWithMetrics.getMetric(), edu.rice.cs.hpc.data.experiment.BaseExperimentWithMetrics.getMetricCount(), edu.rice.cs.hpc.data.experiment.scope.Scope.isExperimentHasMetrics(), edu.rice.cs.hpc.data.experiment.scope.Scope.metrics, and edu.rice.cs.hpc.data.experiment.metric.MetricValue.NONE.
Referenced by edu.rice.cs.hpc.data.experiment.metric.CombineMetricUsingCopy.combine(), and edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.getScopeOfCombineMetrics().
int edu.rice.cs.hpc.data.experiment.scope.Scope.getCounter | ( | ) | [inherited] |
Definition at line 223 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.iCounter.
Referenced by edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.CombineMetricUsingCopyNoCondition.combine(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.getAllChildren(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.isOutermostInstance(), and edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.merge().
int edu.rice.cs.hpc.data.experiment.scope.Scope.getCpid | ( | ) | [inherited] |
Definition at line 239 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.cpid.
Referenced by edu.rice.cs.hpc.traceviewer.spaceTimeData.TraceDataVisitor.visit().
BaseExperiment edu.rice.cs.hpc.data.experiment.scope.Scope.getExperiment | ( | ) | [inherited] |
Definition at line 506 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.experiment.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.ComputedMetricVisitor.addComputedMetrics(), edu.rice.cs.hpc.viewer.scope.ScopeViewActions.addExtNewMetric(), edu.rice.cs.hpc.data.experiment.scope.visitors.BaseDuplicateScopeTreesVisitor.addMetricColumns(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.checkInlinedScope(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.createCallChain(), edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.FilterScopeVisitor(), edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.flatten(), edu.rice.cs.hpc.viewer.scope.ScopeViewActions.getContent(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.getSortedChildren(), edu.rice.cs.hpc.data.experiment.merge.ExperimentMerger.merge(), edu.rice.cs.hpc.viewer.graph.GraphMenu.ScopeGraphAction.run(), and edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.TreeSimilarity().
int edu.rice.cs.hpc.data.experiment.scope.Scope.getFirstLineNumber | ( | ) | [inherited] |
Definition at line 395 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.firstLineNumber.
Referenced by edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.createCallChain(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.getScopeSimilarityScore(), edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.ScopeMouseListener.handleEvent(), edu.rice.cs.hpc.data.experiment.scope.visitors.PrintFlatViewScopeVisitor.printScopeTag(), and edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.update().
int edu.rice.cs.hpc.data.experiment.scope.Scope.getFlatIndex | ( | ) | [inherited] |
Definition at line 147 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.flat_node_index.
Referenced by edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.CallSiteScopeCallerView(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.createCallChain(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.getCallSiteID(), edu.rice.cs.hpc.viewer.scope.StyledScopeLabelProvider.getText(), and edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.getUniqueFileID().
Iterator<TreeNode> edu.rice.cs.hpc.data.experiment.scope.TreeNode.getIterator | ( | ) | [inherited] |
Return the iterator of the children.
The advantage of an iterator is that it allows the caller to remove elements from the collection of children during the iteration. See java.util.Iterator
Definition at line 202 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.children.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitFilterScopeTree().
int edu.rice.cs.hpc.data.experiment.scope.Scope.getLastLineNumber | ( | ) | [inherited] |
Definition at line 412 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.lastLineNumber.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.PrintFlatViewScopeVisitor.printScopeTag().
int edu.rice.cs.hpc.data.experiment.scope.LineScope.getLineNumber | ( | ) |
Definition at line 126 of file LineScope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.firstLineNumber.
Referenced by edu.rice.cs.hpc.viewer.scope.ColumnViewerSorter.doCompare().
String edu.rice.cs.hpc.data.experiment.scope.Scope.getLineNumberCitation | ( | ) | [protected, inherited] |
Definition at line 322 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.firstLineNumber, and edu.rice.cs.hpc.data.experiment.scope.Scope.lastLineNumber.
Referenced by edu.rice.cs.hpc.data.experiment.scope.StatementRangeScope.getShortName(), edu.rice.cs.hpc.data.experiment.scope.LoopScope.getShortName(), and edu.rice.cs.hpc.data.experiment.scope.LineScope.getShortName().
MetricValue edu.rice.cs.hpc.data.experiment.scope.Scope.getMetricValue | ( | int | index | ) | [inherited] |
Definition at line 546 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.metrics, edu.rice.cs.hpc.data.experiment.metric.MetricValue.NONE, and edu.rice.cs.hpc.data.experiment.scope.TreeNode.value.
MetricValue edu.rice.cs.hpc.data.experiment.scope.Scope.getMetricValue | ( | BaseMetric | metric | ) | [inherited] |
Definition at line 524 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.experiment, edu.rice.cs.hpc.data.experiment.metric.BaseMetric.getIndex(), edu.rice.cs.hpc.data.experiment.scope.Scope.getMetricValue(), edu.rice.cs.hpc.data.experiment.BaseExperiment.getRootScope(), edu.rice.cs.hpc.data.experiment.metric.MetricValue.getValue(), edu.rice.cs.hpc.data.experiment.metric.MetricValue.setAnnotationValue(), and edu.rice.cs.hpc.data.experiment.scope.TreeNode.value.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.accumulateMetric(), edu.rice.cs.hpc.data.experiment.scope.visitors.ComputedMetricVisitor.addComputedMetrics(), edu.rice.cs.hpc.data.experiment.metric.AggregateMetric.combine(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.CompareScope.compare(), edu.rice.cs.hpc.data.experiment.scope.visitors.ComputedMetricVisitor.ComputedMetricVisitor(), edu.rice.cs.hpc.data.experiment.Experiment.copyMetric(), edu.rice.cs.hpc.data.experiment.Experiment.copyMetricsToPartner(), edu.rice.cs.hpc.data.experiment.scope.visitors.DerivedPercentVisitor.DerivedPercentVisitor(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.disseminateMetric(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.getAnnotationValue(), edu.rice.cs.hpc.data.experiment.scope.Scope.getMetricValue(), edu.rice.cs.hpc.data.experiment.metric.Metric.getValue(), edu.rice.cs.hpc.data.experiment.metric.AggregateMetric.getValue(), edu.rice.cs.hpc.data.experiment.scope.Scope.hasNonzeroMetrics(), edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.insertParentNode(), edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.mergeMetrics(), edu.rice.cs.hpc.data.experiment.merge.MergeMetric.mergeMetrics(), edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.mergeMetricToParent(), edu.rice.cs.hpc.data.experiment.scope.visitors.PrintFlatViewScopeVisitor.printMetrics(), edu.rice.cs.hpc.data.experiment.merge.MergeMetric.setMetrics(), edu.rice.cs.hpc.data.experiment.scope.visitors.DerivedPercentVisitor.setPercent(), and edu.rice.cs.hpc.data.experiment.scope.visitors.PercentScopeVisitor.setPercentValue().
MetricValue [] edu.rice.cs.hpc.data.experiment.scope.Scope.getMetricValues | ( | ) | [inherited] |
Definition at line 652 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.metrics.
Referenced by edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.checkInlinedScope(), edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.FilterScopeVisitor(), and edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.mergeMetrics().
String edu.rice.cs.hpc.data.experiment.scope.LineScope.getName | ( | ) | [virtual] |
Implements edu.rice.cs.hpc.data.experiment.scope.Scope.
Definition at line 79 of file LineScope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.getSourceCitation(), edu.rice.cs.hpc.data.experiment.scope.Scope.lastLineNumber, and edu.rice.cs.hpc.data.experiment.scope.Scope.sourceFile.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.getCallSiteID().
TreeNode edu.rice.cs.hpc.data.experiment.scope.TreeNode.getParent | ( | ) | [inherited] |
Returns the parent node.
null
if there are no parent nodes. Definition at line 94 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.parent.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActions.getInputNode(), and edu.rice.cs.hpc.data.experiment.scope.Scope.getParentScope().
Scope edu.rice.cs.hpc.data.experiment.scope.Scope.getParentScope | ( | ) | [inherited] |
Definition at line 431 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.getParent().
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.ExclusiveCallingContextVisitor.accumulateAncestor(), edu.rice.cs.hpc.data.experiment.scope.visitors.ExclusiveCallingContextVisitor.add(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.checkInlinedScope(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.createCallChain(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.createFlatFileScope(), edu.rice.cs.hpc.data.experiment.scope.filters.InclusiveOnlyMetricPropagationFilter.doPropagation(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.findEnclosingProcedure(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.getFlatCounterPart(), edu.rice.cs.hpc.traceviewer.data.graph.CallPath.getFunctionNames(), edu.rice.cs.hpc.traceviewer.data.graph.CallPath.getScopeAt(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.isOnlyChild(), edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.mergeInsert(), edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.removeChild(), edu.rice.cs.hpc.data.experiment.scope.visitors.AbstractInclusiveMetricsVisitor.up(), edu.rice.cs.hpc.traceviewer.spaceTimeData.TraceDataVisitor.visit(), and edu.rice.cs.hpc.data.experiment.scope.visitors.ExclusiveCallingContextVisitor.visit().
String edu.rice.cs.hpc.data.experiment.scope.LineScope.getShortName | ( | ) |
Reimplemented from edu.rice.cs.hpc.data.experiment.scope.Scope.
Definition at line 102 of file LineScope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.getLineNumberCitation().
String edu.rice.cs.hpc.data.experiment.scope.Scope.getSourceCitation | ( | ) | [protected, inherited] |
Reimplemented in edu.rice.cs.hpc.data.experiment.scope.LoadModuleScope.
Definition at line 292 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.firstLineNumber, edu.rice.cs.hpc.data.experiment.scope.Scope.lastLineNumber, edu.rice.cs.hpc.data.experiment.scope.Scope.sourceFile, and edu.rice.cs.hpc.data.experiment.scope.Scope.srcCitation.
Referenced by edu.rice.cs.hpc.data.experiment.scope.StatementRangeScope.getName(), edu.rice.cs.hpc.data.experiment.scope.ProcedureScope.getName(), edu.rice.cs.hpc.data.experiment.scope.LoopScope.getName(), edu.rice.cs.hpc.data.experiment.scope.LineScope.getName(), and edu.rice.cs.hpc.data.experiment.scope.Scope.getToolTip().
SourceFile edu.rice.cs.hpc.data.experiment.scope.Scope.getSourceFile | ( | ) | [inherited] |
Definition at line 380 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.sourceFile.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_L(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.createCallChain(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.createFlatFileScope(), edu.rice.cs.hpc.data.experiment.scope.ProcedureScope.equals(), edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.fillContextMenu(), edu.rice.cs.hpc.data.experiment.scope.FileScope.getToolTip(), edu.rice.cs.hpc.viewer.util.Utilities.isFileReadable(), and edu.rice.cs.hpc.data.experiment.scope.visitors.PrintFlatViewScopeVisitor.printScopeTag().
Scope edu.rice.cs.hpc.data.experiment.scope.Scope.getSubscope | ( | int | index | ) | [inherited] |
Definition at line 465 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.getChildAt().
Referenced by edu.rice.cs.hpc.data.experiment.Experiment.accumulateMetricsFromKids(), edu.rice.cs.hpc.data.experiment.Experiment.addDerivedMetric(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.addToTree(), edu.rice.cs.hpc.data.experiment.metric.DerivedMetric.DerivedMetric(), edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitScopeTree(), edu.rice.cs.hpc.viewer.metric.MetricPropertyDialog.doAction(), edu.rice.cs.hpc.data.experiment.BaseExperiment.getCallerTreeRoot(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.mergeCallerPath(), edu.rice.cs.hpc.data.experiment.Experiment.postprocess(), and edu.rice.cs.hpc.data.experiment.metric.DerivedMetric.setExpression().
int edu.rice.cs.hpc.data.experiment.scope.Scope.getSubscopeCount | ( | ) | [inherited] |
Definition at line 453 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.getChildCount().
Referenced by edu.rice.cs.hpc.data.experiment.Experiment.accumulateMetricsFromKids(), edu.rice.cs.hpc.data.experiment.Experiment.addDerivedMetric(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.addToTree(), edu.rice.cs.hpc.data.experiment.scope.Scope.dfsVisitScopeTree(), edu.rice.cs.hpc.data.experiment.BaseExperiment.getCallerTreeRoot(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.mergeCallerPath(), and edu.rice.cs.hpc.data.experiment.Experiment.postprocess().
String edu.rice.cs.hpc.data.experiment.scope.Scope.getToolTip | ( | ) | [inherited] |
Reimplemented in edu.rice.cs.hpc.data.experiment.scope.FileScope.
Definition at line 258 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.getSourceCitation().
Referenced by edu.rice.cs.hpc.viewer.scope.AbstractBaseScopeView.fillContextMenu().
Object edu.rice.cs.hpc.data.experiment.scope.TreeNode.getValue | ( | ) | [inherited] |
Returns the value held by this node.
Definition at line 103 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.value.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.getCCTIndex().
boolean edu.rice.cs.hpc.data.experiment.scope.TreeNode.hasChildren | ( | ) | [inherited] |
Returns whether the tree has any children.
true
if its array of children is not null
and is non-empty; false
otherwise. Definition at line 114 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.children.
Referenced by edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.flatten(), and edu.rice.cs.hpc.viewer.scope.bottomup.CallerViewContentProvider.hasChildren().
static final int edu.rice.cs.hpc.data.experiment.scope.TreeNode.hashCode | ( | final Object | object | ) | [static, inherited] |
Provides a hash code for the object -- defending against null
.
object | The object for which a hash code is required. |
object.hashCode
or 0
if object
if null
. Definition at line 219 of file TreeNode.java.
int edu.rice.cs.hpc.data.experiment.scope.Scope.hashCode | ( | ) | [inherited] |
Reimplemented from edu.rice.cs.hpc.data.experiment.scope.TreeNode.
Definition at line 282 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.flat_node_index.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.addChild(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.createCallChain(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.createFlatFileScope(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.createFlatModuleScope(), edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.createProcedureIfNecessary(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.getID(), edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.isTheSameScope(), and edu.rice.cs.hpc.data.experiment.scope.visitors.PrintFlatViewScopeVisitor.printScopeTag().
boolean edu.rice.cs.hpc.data.experiment.scope.Scope.hasMetrics | ( | ) | [inherited] |
Definition at line 487 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.metrics.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.copyMetrics(), and edu.rice.cs.hpc.data.experiment.scope.Scope.hasNonzeroMetrics().
boolean edu.rice.cs.hpc.data.experiment.scope.Scope.hasNonzeroMetrics | ( | ) | [inherited] |
Definition at line 492 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.getMetricValue(), edu.rice.cs.hpc.data.experiment.scope.Scope.hasMetrics(), and edu.rice.cs.hpc.data.experiment.scope.Scope.metrics.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.visit().
void edu.rice.cs.hpc.data.experiment.scope.Scope.incrementCounter | ( | ) | [inherited] |
Definition at line 207 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.iCounter.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.addCostIfNecessary(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.checkInlinedScope(), edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.CombineCallerScopeMetric.combine(), edu.rice.cs.hpc.data.experiment.metric.AbstractCombineMetric.combine_internal(), and edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.setMergedNodes().
boolean edu.rice.cs.hpc.data.experiment.scope.Scope.isCounterPositif | ( | ) | [inherited] |
Definition at line 227 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.iCounter.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.decrementCounter().
boolean edu.rice.cs.hpc.data.experiment.scope.Scope.isCounterZero | ( | ) | [inherited] |
Definition at line 231 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.iCounter.
Referenced by edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.checkInlinedScope(), edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.CombineCallerScopeMetric.combine(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.IncrementalCombineMetricUsingCopy.combine(), edu.rice.cs.hpc.data.experiment.metric.AbstractCombineMetric.combine_internal(), edu.rice.cs.hpc.data.experiment.scope.visitors.BaseDuplicateScopeTreesVisitor.mergeInsert(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.mergeNode(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.mergeTree(), and edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.setMergedNodes().
boolean edu.rice.cs.hpc.data.experiment.scope.LineScope.isequal | ( | LineScope | ls | ) |
Definition at line 108 of file LineScope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.firstLineNumber, edu.rice.cs.hpc.data.experiment.scope.Scope.lastLineNumber, and edu.rice.cs.hpc.data.experiment.scope.Scope.sourceFile.
boolean edu.rice.cs.hpc.data.experiment.scope.Scope.isExperimentHasMetrics | ( | ) | [protected, inherited] |
Definition at line 816 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.experiment.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.combine(), edu.rice.cs.hpc.data.experiment.scope.Scope.ensureMetricStorage(), edu.rice.cs.hpc.data.experiment.scope.Scope.getCombinedValues(), and edu.rice.cs.hpc.data.experiment.scope.Scope.makeMetricValueArray().
void edu.rice.cs.hpc.data.experiment.scope.TreeNode.remove | ( | int | index | ) | [inherited] |
Remove a child for a given index.
index | : index of the scope to be removed |
Definition at line 151 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.children.
void edu.rice.cs.hpc.data.experiment.scope.TreeNode.remove | ( | TreeNode | child | ) | [inherited] |
Remove a child.
The child hash code (which is the cct) has to be unique.
Otherwise, it will remove incorrect child.
child | : the child to be removed |
Definition at line 141 of file TreeNode.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.children.
Referenced by edu.rice.cs.hpc.data.experiment.Experiment.filter_finalize(), and edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.removeChild().
void edu.rice.cs.hpc.data.experiment.scope.Scope.safeCombine | ( | Scope | source, | |
MetricValuePropagationFilter | filter | |||
) | [inherited] |
Definition at line 737 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.combine(), and edu.rice.cs.hpc.data.experiment.scope.Scope.ensureMetricStorage().
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.CombineCallerScopeMetric.combine(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.CombineMetricUsingCopyNoCondition.combine(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.IncrementalCombineMetricUsingCopy.combine(), edu.rice.cs.hpc.data.experiment.metric.CombineMetricUsingCopy.combine(), and edu.rice.cs.hpc.data.experiment.metric.AbstractCombineMetric.combine_internal().
void edu.rice.cs.hpc.data.experiment.scope.Scope.setCounter | ( | int | counter | ) | [inherited] |
Definition at line 219 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.iCounter.
Referenced by edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.CombineMetricUsingCopyNoCondition.combine(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.merge(), and edu.rice.cs.hpc.data.experiment.scope.visitors.ResetCounterVisitor.reset().
void edu.rice.cs.hpc.data.experiment.scope.Scope.setCpid | ( | int | _cpid | ) | [inherited] |
Definition at line 249 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.cpid.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_PF(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_S_internal().
void edu.rice.cs.hpc.data.experiment.scope.Scope.setExperiment | ( | BaseExperiment | exp | ) | [inherited] |
Definition at line 510 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.experiment.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.BaseDuplicateScopeTreesVisitor.addMetricColumns(), and edu.rice.cs.hpc.viewer.scope.flat.FlatScopeViewActions.flatten().
void edu.rice.cs.hpc.data.experiment.scope.Scope.setMetricValue | ( | int | index, | |
MetricValue | value | |||
) | [inherited] |
Definition at line 563 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.ensureMetricStorage(), and edu.rice.cs.hpc.data.experiment.scope.Scope.metrics.
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.ComputedMetricVisitor.addComputedMetrics(), edu.rice.cs.hpc.data.experiment.metric.AggregateMetric.combine(), edu.rice.cs.hpc.data.experiment.Experiment.copyMetric(), edu.rice.cs.hpc.data.experiment.Experiment.copyMetricsToPartner(), edu.rice.cs.hpc.data.experiment.merge.TreeSimilarity.disseminateMetric(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_M(), edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.mergeMetrics(), edu.rice.cs.hpc.data.experiment.merge.MergeMetric.mergeMetrics(), edu.rice.cs.hpc.data.experiment.scope.visitors.FilterScopeVisitor.mergeMetricToParent(), edu.rice.cs.hpc.data.experiment.merge.MergeMetric.setMetrics(), edu.rice.cs.hpc.data.experiment.metric.AggregateMetric.setScopeValue(), edu.rice.cs.hpc.data.experiment.scope.visitors.DerivedMetricVisitor.up(), and edu.rice.cs.hpc.data.experiment.scope.visitors.DerivedMetricVisitor.visit().
void edu.rice.cs.hpc.data.experiment.scope.Scope.setMetricValues | ( | MetricValue | values[] | ) | [inherited] |
Definition at line 660 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.metrics.
Referenced by edu.rice.cs.hpc.data.experiment.metric.CombineMetricUsingCopy.combine(), and edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.getScopeOfCombineMetrics().
void edu.rice.cs.hpc.data.experiment.scope.TreeNode.setParent | ( | final TreeNode | parent | ) | [inherited] |
Sets the parent for this node.
parent | The parent node; may be null . |
Definition at line 162 of file TreeNode.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.setParentScope().
void edu.rice.cs.hpc.data.experiment.scope.Scope.setParentScope | ( | Scope | parentScope | ) | [inherited] |
Definition at line 441 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.TreeNode.setParent().
Referenced by edu.rice.cs.hpc.data.experiment.scope.visitors.FlatViewScopeVisitor.addChild(), edu.rice.cs.hpc.data.experiment.scope.visitors.BaseDuplicateScopeTreesVisitor.addMetricColumns(), edu.rice.cs.hpc.data.experiment.scope.CallerScopeBuilder.addNewPathIntoTree(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.beginScope(), edu.rice.cs.hpc.data.experiment.Experiment.beginScope(), and edu.rice.cs.hpc.data.experiment.scope.visitors.CallersViewScopeVisitor.createProcedureIfNecessary().
String edu.rice.cs.hpc.data.experiment.scope.Scope.toString | ( | ) | [inherited] |
Definition at line 276 of file Scope.java.
References edu.rice.cs.hpc.data.experiment.scope.Scope.getName().
int edu.rice.cs.hpc.data.experiment.scope.Scope.cpid [protected, inherited] |
Definition at line 94 of file Scope.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.getCpid(), edu.rice.cs.hpc.data.experiment.scope.Scope.Scope(), and edu.rice.cs.hpc.data.experiment.scope.Scope.setCpid().
BaseExperiment edu.rice.cs.hpc.data.experiment.scope.Scope.experiment [protected, inherited] |
The experiment owning this scope.
Definition at line 65 of file Scope.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.backupMetricValues(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScope.CallSiteScope(), edu.rice.cs.hpc.data.experiment.scope.Scope.combine(), edu.rice.cs.hpc.data.experiment.scope.Scope.dispose(), edu.rice.cs.hpc.data.experiment.scope.StatementRangeScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.ProcedureScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LoopScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LoadModuleScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LineScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.GroupScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.FileScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.AlienScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.Scope.ensureMetricStorage(), edu.rice.cs.hpc.data.experiment.scope.Scope.getCombinedValues(), edu.rice.cs.hpc.data.experiment.scope.Scope.getExperiment(), edu.rice.cs.hpc.data.experiment.scope.Scope.getMetricValue(), edu.rice.cs.hpc.data.experiment.scope.Scope.isExperimentHasMetrics(), edu.rice.cs.hpc.data.experiment.scope.Scope.makeMetricValueArray(), and edu.rice.cs.hpc.data.experiment.scope.Scope.setExperiment().
int edu.rice.cs.hpc.data.experiment.scope.Scope.firstLineNumber [protected, inherited] |
The first line number of this scope.
Definition at line 74 of file Scope.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.CallSiteScope.CallSiteScope(), edu.rice.cs.hpc.data.experiment.scope.StatementRangeScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.ProcedureScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LoopScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LineScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.AlienScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.Scope.getFirstLineNumber(), edu.rice.cs.hpc.data.experiment.scope.LineScope.getLineNumber(), edu.rice.cs.hpc.data.experiment.scope.Scope.getLineNumberCitation(), edu.rice.cs.hpc.data.experiment.scope.Scope.getSourceCitation(), edu.rice.cs.hpc.data.experiment.scope.LineScope.isequal(), and edu.rice.cs.hpc.data.experiment.scope.Scope.Scope().
int edu.rice.cs.hpc.data.experiment.scope.Scope.flat_node_index [protected, inherited] |
the scope identifier
Definition at line 71 of file Scope.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.decrementCounter(), edu.rice.cs.hpc.data.experiment.scope.StatementRangeScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.ProcedureScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LoopScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LoadModuleScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LineScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.FileScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.CallSiteScopeCallerView.getAllChildren(), edu.rice.cs.hpc.data.experiment.scope.Scope.getFlatIndex(), edu.rice.cs.hpc.data.experiment.scope.Scope.hashCode(), and edu.rice.cs.hpc.data.experiment.scope.Scope.Scope().
int edu.rice.cs.hpc.data.experiment.scope.Scope.idMax = 0 [static, protected, inherited] |
The current maximum number of ID for all scopes.
Definition at line 62 of file Scope.java.
int edu.rice.cs.hpc.data.experiment.scope.Scope.iSourceCodeAvailability = Scope.SOURCE_CODE_UNKNOWN [inherited] |
Definition at line 97 of file Scope.java.
Referenced by edu.rice.cs.hpc.viewer.util.Utilities.isFileReadable().
int edu.rice.cs.hpc.data.experiment.scope.Scope.lastLineNumber [protected, inherited] |
The last line number of this scope.
Definition at line 77 of file Scope.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.CallSiteScope.CallSiteScope(), edu.rice.cs.hpc.data.experiment.scope.StatementRangeScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.ProcedureScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LoopScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.AlienScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.Scope.getLastLineNumber(), edu.rice.cs.hpc.data.experiment.scope.Scope.getLineNumberCitation(), edu.rice.cs.hpc.data.experiment.scope.LineScope.getName(), edu.rice.cs.hpc.data.experiment.scope.Scope.getSourceCitation(), edu.rice.cs.hpc.data.experiment.scope.LineScope.isequal(), and edu.rice.cs.hpc.data.experiment.scope.Scope.Scope().
final int edu.rice.cs.hpc.data.experiment.scope.Scope.NO_LINE_NUMBER = -169 [static, inherited] |
The value used to indicate "no line number".
Definition at line 55 of file Scope.java.
final int edu.rice.cs.hpc.data.experiment.scope.Scope.SOURCE_CODE_AVAILABLE = 1 [static, inherited] |
Definition at line 58 of file Scope.java.
final int edu.rice.cs.hpc.data.experiment.scope.Scope.SOURCE_CODE_NOT_AVAILABLE = 2 [static, inherited] |
Definition at line 59 of file Scope.java.
final int edu.rice.cs.hpc.data.experiment.scope.Scope.SOURCE_CODE_UNKNOWN = 0 [static, inherited] |
Definition at line 57 of file Scope.java.
SourceFile edu.rice.cs.hpc.data.experiment.scope.Scope.sourceFile [protected, inherited] |
The source file containing this scope.
Definition at line 68 of file Scope.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.CallSiteScope.CallSiteScope(), edu.rice.cs.hpc.data.experiment.scope.StatementRangeScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.ProcedureScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LoopScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LoadModuleScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LineScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.FileScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.AlienScope.duplicate(), edu.rice.cs.hpc.data.experiment.scope.LineScope.getName(), edu.rice.cs.hpc.data.experiment.scope.FileScope.getName(), edu.rice.cs.hpc.data.experiment.scope.Scope.getSourceCitation(), edu.rice.cs.hpc.data.experiment.scope.Scope.getSourceFile(), edu.rice.cs.hpc.data.experiment.scope.LineScope.isequal(), and edu.rice.cs.hpc.data.experiment.scope.Scope.Scope().
String edu.rice.cs.hpc.data.experiment.scope.Scope.srcCitation [protected, inherited] |
source citation
Definition at line 84 of file Scope.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.dispose(), edu.rice.cs.hpc.data.experiment.scope.Scope.getSourceCitation(), and edu.rice.cs.hpc.data.experiment.scope.Scope.Scope().
Object edu.rice.cs.hpc.data.experiment.scope.TreeNode.value [protected, inherited] |
The value contained in this node.
This value may be anything.
Definition at line 54 of file TreeNode.java.
Referenced by edu.rice.cs.hpc.data.experiment.scope.Scope.backupMetricValues(), edu.rice.cs.hpc.data.experiment.scope.TreeNode.dispose(), edu.rice.cs.hpc.data.experiment.scope.TreeNode.equals(), edu.rice.cs.hpc.data.experiment.scope.Scope.getMetricValue(), edu.rice.cs.hpc.data.experiment.scope.TreeNode.getValue(), and edu.rice.cs.hpc.data.experiment.scope.TreeNode.hashCode().