Class BlazingMemoryResource

Inheritance Relationships

Derived Types

Class Documentation

class BlazingMemoryResource

This interface represents a custom memory resource used in the cache system. The Cache Machines uses singleton references to device, host and disk memory resources. Each object of the CacheMachine class has knownlegde about the status of the memory resource by using get_memory_limit and get_memory_used methods.

Subclassed by blazing_device_memory_resource, blazing_disk_memory_resource, blazing_host_memory_resource

Public Functions

virtual size_t get_from_driver_used_memory() = 0
virtual size_t get_memory_limit() = 0
virtual size_t get_memory_used() = 0
virtual size_t get_total_memory() = 0