base: 'Allocator_guard::quota' accessor

This commit is contained in:
Norman Feske 2013-10-15 09:08:39 +02:00 committed by Christian Helmuth
parent 047d851fb6
commit 1c4e73d425

View File

@ -90,10 +90,15 @@ namespace Genode {
}
/**
* Return total amount of backing store consumed by the allocator
* Return amount of backing store consumed by the allocator
*/
size_t consumed() { return _consumed; }
/**
* Return allocation limit
*/
size_t quota() const { return _amount; }
/**
* Return meta-data overhead per block
*/