mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 07:46:42 +00:00
base: 'Allocator_guard::quota' accessor
This commit is contained in:
parent
047d851fb6
commit
1c4e73d425
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user