void FillStatisticsListWithClassData() { currentListMenuHandler = listMenuHandlerForClasses; if (currentSelection != null) { if (currentSelection.Items != null) { FillTreeViewWithStatistics(PerClassStatistics, currentSelection.Items.ClassStatistics); } else { PerClassStatistics.NodeStore.Clear(); } } currentListSelection = null; }
void FillStatisticsListWithCallStackData() { currentListMenuHandler = listMenuHandlerForCallStacks; if (currentSelection != null) { if (currentSelection.Items != null) { if (!currentSelection.Items.ObjectAllocationsArePresent) { currentSelection.Items.FindObjectAllocations(currentSelection.Root); } FillTreeViewWithStatistics(PerClassStatistics, currentSelection.Items.AllocationCallStackStatistics); } else { PerClassStatistics.NodeStore.Clear(); } } currentListSelection = null; }