1#ifndef UniqueIOCachingAlgorithm_h
2#define UniqueIOCachingAlgorithm_h
10#include "CubeCachingAlgorithm.h"
12template <
typename A>
class QList;
13template <
typename A>
class QQueue;
36 QList <RawCubeChunk *> allocated, QList <RawCubeChunk *> justUsed,
37 const Buffer &justRequested);
Buffer for reading and writing cube data.
This stores the results of the caching algorithm.
CubeCachingAlgorithm()
Construct a caching algorithm.
virtual CacheResult recommendChunksToFree(QList< RawCubeChunk * > allocated, QList< RawCubeChunk * > justUsed, const Buffer &justRequested)
Please see the class description for how this algorithm works.
UniqueIOCachingAlgorithm(int numUniqueIOs)
Construct a new UniqueIOCachingAlgorithm.
virtual ~UniqueIOCachingAlgorithm()
Frees the memory allocated by this caching algorithm.
QQueue< QList< RawCubeChunk * > > * m_uniqueIOs
This is the set of past unique IOs.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.