Class AggregatedCallSite
java.lang.Object
org.eclipse.tracecompass.incubator.analysis.core.weighted.tree.WeightedTree<ICallStackSymbol>
org.eclipse.tracecompass.incubator.analysis.core.concepts.AggregatedCallSite
- All Implemented Interfaces:
Comparable<WeightedTree<ICallStackSymbol>>
- Direct Known Subclasses:
AggregatedStackTraces
Base class for aggregating call site data from either sampled or instrumented
call stacks.
- Author:
- Geneviève Bastien
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopyOf()
Make a copy of this callsite, with its statistics.TODO: This is used in unit tests only, those should be updated instead Return the children as a collection of aggregatedCallSiteMap<String,
IStatistics<?>> Get additional statistics for this call sitetoString()
Methods inherited from class org.eclipse.tracecompass.incubator.analysis.core.weighted.tree.WeightedTree
addChild, addToWeight, compareTo, getChildren, getExtraDataTrees, getMaxDepth, getObject, getStatistics, getWeight, merge
-
Constructor Details
-
AggregatedCallSite
Constructor- Parameters:
symbol
- The symbol of the call site. It can eventually be resolved to a string using the symbol providersinitialLength
- The initial length of this object
-
-
Method Details
-
getCallees
TODO: This is used in unit tests only, those should be updated instead Return the children as a collection of aggregatedCallSite- Returns:
- The children as callees
-
copyOf
Make a copy of this callsite, with its statistics. Implementing classes should make sure they copy all fields of the callsite, including the statistics.- Overrides:
copyOf
in classWeightedTree<ICallStackSymbol>
- Returns:
- A copy of this aggregated call site
-
getStatistics
Get additional statistics for this call site- Returns:
- A map of statistics title with statistics
-
toString
- Overrides:
toString
in classWeightedTree<ICallStackSymbol>
-