20 #ifndef DUMMYMANAGEDMEMORY_H
21 #define DUMMYMANAGEDMEMORY_H
85 #endif // DUMMYMANAGEDMEMORY_H
Exception for errors with the memory.
virtual bool touch(managedMemoryChunk &)
marks chunk as recently active as a hint for scheduling
virtual ~managedDummySwapContainer()
Swapping action was successful.
static bool Throw(memoryException e)
Custom throw function, as we need to prevent throwing exceptions in construtors.
virtual void untouch(managedMemoryChunk &)
marks chunk as recently not needed any more
virtual void schedulerRegister(managedMemoryChunk &)
gives scheduler code the opportunity to register its own datastructures associated with a chunk ...
virtual void schedulerDelete(managedMemoryChunk &)
signals deletion of chunk to scheduler code
static pthread_mutex_t stateChangeMutex
A dummy class to get rid of initialization problems.
manages all managed Chunks of raw memory
a dummy managed Memory that basically does nothing and throws on everything.
virtual ~dummyManagedMemory()
virtual swapErrorCode swapOut(global_bytesize)
swaps out at least min_size bytes
swapErrorCode
Error codes for swapOut requests.
A dummy swap that just copies swapped out chunks to a different location in ram.
managedDummySwapContainer()
virtual bool swapIn(managedMemoryChunk &)
Tries to swap in chunk chunk.
Backend class to handle raw memory and interaction/storage with managedSwap.