Inheritance: IComparable
Exemple #1
0
    public AllocNode(int t, int [] bt, int bt_len, BacktraceTabulator tab)
    {
        this.type = t;
        this.bt = bt;
        this.bt_len = bt_len;
        this.tab = tab;

        tab.nodes.Add (this, this);

        if (bt_len != 0) {
            Parent = tab.LookupNode (t, bt, bt_len - 1);
            if (Parent.Children == null)
                Parent.Children = new ArrayList ();

            Parent.Children.Add (this);
        } else {
            tab.type_nodes.Add (this);
        }
    }
Exemple #2
0
 public BacktraceNode(TimeData data, Profile p, AllocNode an)
 {
     this.data = data;
     this.p = p;
     this.an = an;
 }