Go to the documentation of this file.
35 #ifndef __MEM_CACHE_TAGS_SUPER_BLK_HH__
36 #define __MEM_CACHE_TAGS_SUPER_BLK_HH__
118 std::string
print()
const override;
162 #endif //__MEM_CACHE_TAGS_SUPER_BLK_HH__
CompressionBlk & operator=(const CompressionBlk &)=delete
bool canCoAllocate(const std::size_t compressed_size) const
Checks whether a superblock can co-allocate given compressed data block.
std::size_t _size
Set size, in bits, of this compressed block's data.
std::size_t getSizeBits() const
std::size_t blkSize
Block size, in bytes.
Copyright (c) 2018 Inria All rights reserved.
Cycles getDecompressionLatency() const
Get number of cycles needed to decompress this block.
void setBlkSize(const std::size_t blk_size)
Set block size.
bool isCompressed() const
Check if this block holds compressed data.
void setDecompressionLatency(const Cycles lat)
Set number of cycles needed to decompress this block.
Cycles _decompressionLatency
Number of cycles needed to decompress this block.
void setCompressed()
Set compression bit.
void setUncompressed()
Clear compression bit.
A basic compression superblock.
void setSizeBits(const std::size_t size)
Set size, in bits, of this compressed block's data.
bool isCompressed(const CompressionBlk *ignored_blk=nullptr) const
Returns whether the superblock contains compressed blocks or not.
SuperBlk & operator=(const SuperBlk &)=delete
Cycles is a wrapper class for representing cycle counts, i.e.
A sector is composed of sub-blocks, and each sub-block has information regarding its sector and a poi...
A superblock is composed of sub-blocks, and each sub-block has information regarding its superblock a...
std::string print() const override
Pretty-print sector offset and other CacheBlk information.
Generated on Wed Sep 30 2020 14:02:12 for gem5 by doxygen 1.8.17