uint64 GetClientMemoryUsage(const GpuMemoryManagerClient* client) const;
+ // The maximum and minimum amount of memory that a client may be assigned.
+ uint64 GetMaximumClientAllocation() const;
+ uint64 GetMinimumClientAllocation() const {
+ return bytes_minimum_per_client_;
+ }
+
private:
friend class GpuMemoryManagerTest;
friend class GpuMemoryTrackingGroup;
// Maximum cap on total GPU memory, no matter how much the GPU reports.
uint64 GetMaximumTotalGpuMemory() const;
- // The maximum and minimum amount of memory that a client may be assigned.
- uint64 GetMaximumClientAllocation() const;
- uint64 GetMinimumClientAllocation() const {
- return bytes_minimum_per_client_;
- }
// The default amount of memory that a client is assigned, if it has not
// reported any memory usage stats yet.
uint64 GetDefaultClientAllocation() const {