public class BlockListCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
dimensionality |
protected ISBounds |
dsSpaceBounds |
protected int[] |
dsSpaceDimensions |
protected ISBounds |
iterationSpaceBounds |
protected int[] |
iterationSpaceDimensions |
protected int[] |
lowerDSSpaceCoords |
protected int[] |
lowerIterationSpaceCoords |
protected int |
numAttributes |
protected PhysicalDataSource |
theSource |
protected int[] |
upperDSSpaceCoords |
protected int[] |
upperIterationSpaceCoords |
Constructor and Description |
---|
BlockListCache(PhysicalDataSource dataSource,
int numCacheBlocks,
ISBounds listBlockSize) |
Modifier and Type | Method and Description |
---|---|
long |
checkSize(ISBounds bounds) |
protected ISBounds[] |
getEnumWindow()
return the enum window
|
void |
lookup(BasicBlock queryBlock,
ISBounds dstBounds,
ISBounds userQueryBounds)
lookup the cached blocks to see if the the query block is already in
cache.
|
void |
lookup(Datum theDatum,
IndexSpaceID id) |
static void |
main(java.lang.String[] args) |
protected void |
setEnumWindow(ISBounds[] window)
set the enum window so that the cache can perform efficient prefetch
|
protected void |
setIterator(RandomBlockIterator iter) |
protected PhysicalDataSource theSource
protected int dimensionality
protected int numAttributes
protected ISBounds iterationSpaceBounds
protected int[] lowerIterationSpaceCoords
protected int[] upperIterationSpaceCoords
protected int[] iterationSpaceDimensions
protected ISBounds dsSpaceBounds
protected int[] lowerDSSpaceCoords
protected int[] upperDSSpaceCoords
protected int[] dsSpaceDimensions
public BlockListCache(PhysicalDataSource dataSource, int numCacheBlocks, ISBounds listBlockSize)
public long checkSize(ISBounds bounds)
public void lookup(BasicBlock queryBlock, ISBounds dstBounds, ISBounds userQueryBounds)
public void lookup(Datum theDatum, IndexSpaceID id)
protected void setEnumWindow(ISBounds[] window)
protected ISBounds[] getEnumWindow()
protected void setIterator(RandomBlockIterator iter)
public static void main(java.lang.String[] args)