Mercurial > flash_v2
comparison packages/services/memalloc/common/current/src/dlmalloc.cxx @ 163:0d2b193a635f
Merge from eCos master repository on 2001-06-22-17:38:39-BST
| author | jlarmour |
|---|---|
| date | Fri, 22 Jun 2001 18:18:44 +0000 |
| parents | 511f4dc167f6 |
| children | 42f843b391aa |
comparison
equal
deleted
inserted
replaced
| 162:2395031e7a66 | 163:0d2b193a635f |
|---|---|
| 1617 | 1617 |
| 1618 if ( 0 != (flags & CYG_MEMPOOL_STAT_TOTALALLOCATED) ) | 1618 if ( 0 != (flags & CYG_MEMPOOL_STAT_TOTALALLOCATED) ) |
| 1619 status.totalallocated = arenasize - avail; | 1619 status.totalallocated = arenasize - avail; |
| 1620 // as quick or quicker to just set most of these, rather than | 1620 // as quick or quicker to just set most of these, rather than |
| 1621 // test flag first | 1621 // test flag first |
| 1622 status.totalfree = avail; | 1622 status.totalfree = avail - (2*SIZE_SZ) - MINSIZE; |
| 1623 status.freeblocks = navail; | 1623 status.freeblocks = navail; |
| 1624 status.maxfree = maxfree; | 1624 status.maxfree = maxfree - (2*SIZE_SZ) - MINSIZE; |
| 1625 } // if | 1625 } // if |
| 1626 | 1626 |
| 1627 // as quick or quicker to just set most of these, rather than | 1627 // as quick or quicker to just set most of these, rather than |
| 1628 // test flag first | 1628 // test flag first |
| 1629 status.arenabase = status.origbase = arenabase; | 1629 status.arenabase = status.origbase = arenabase; |
