Exemplo n.º 1
0
 void FillStatisticsListWithClassData()
 {
     currentListMenuHandler = listMenuHandlerForClasses;
     if (currentSelection != null)
     {
         if (currentSelection.Items != null)
         {
             FillTreeViewWithStatistics(PerClassStatistics, currentSelection.Items.ClassStatistics);
         }
         else
         {
             PerClassStatistics.NodeStore.Clear();
         }
     }
     currentListSelection = null;
 }
Exemplo n.º 2
0
 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;
 }