AllocNode.RecordAlloc C# (CSharp) Method

RecordAlloc() public method

public RecordAlloc ( int c, int b ) : void
c int
b int
return void
    public void RecordAlloc(int c, int b)
    {
        for (AllocNode n = this; n != null; n = n.Parent) {
            n.n_allocs += c;
            n.n_bytes += b;
        }
    }