AllocNode.RecordAlloc C# (CSharp) 메소드

RecordAlloc() 공개 메소드

public RecordAlloc ( int c, int b ) : void
c int
b int
리턴 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;
        }
    }