Example #1
0
        private ContainerListViewItem AddItem(ContainerListViewItemCollection parent, FunctionInfo function)
        {
            ContainerListViewItem item = parent.Add(currentRun.signatures[function.ID].Signature);

            item.SubItems[1].Text = ((((double)function.Samples) / (double)currentRun.maxSamples) * 100.0).ToString("0.00;-0.00;0.0");
            item.Tag = function;
            return(item);
        }
Example #2
0
        public void AddFunctionItem(ContainerListViewItemCollection parent, FunctionInfo function)
        {
            ContainerListViewItem item = AddItem(parent, function);

            foreach (FunctionInfo callee in function.Children.Values)
            {
                AddItem(item.Items, callee);
            }
        }