Copyable lifetime-safe reservation/stats endpoint. More...
#include <sample_memory_governor.hpp>
Public Member Functions | |
| SampleMemoryGovernorHandle ()=default | |
| operator bool () const noexcept | |
| bool | prepared () const noexcept |
| SampleMemoryReserveResult | reserve (SampleMemoryCategory category, std::uint64_t bytes) const noexcept |
| SampleMemoryGovernorStats | stats () const noexcept |
| bool | issued (const SampleMemoryLease &lease) const noexcept |
| SampleMemoryGovernorEpoch | epoch () const noexcept |
Friends | |
| class | SampleMemoryGovernor |
Copyable lifetime-safe reservation/stats endpoint.
Handles keep the shared accounting state alive without borrowing the SampleMemoryGovernor facade.
|
default |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |