base.hh (13943:4046b0c547be) | base.hh (13945:a573bed35a8b) |
---|---|
1/* 2 * Copyright (c) 2018 Inria 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127 Cycles& decomp_lat, std::size_t& comp_size_bits); 128 129 /** 130 * Get the decompression latency if the block is compressed. Latency is 0 131 * otherwise. 132 * 133 * @param blk The compressed block. 134 */ | 1/* 2 * Copyright (c) 2018 Inria 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127 Cycles& decomp_lat, std::size_t& comp_size_bits); 128 129 /** 130 * Get the decompression latency if the block is compressed. Latency is 0 131 * otherwise. 132 * 133 * @param blk The compressed block. 134 */ |
135 static Cycles getDecompressionLatency(const CacheBlk* blk); | 135 Cycles getDecompressionLatency(const CacheBlk* blk) const; |
136 137 /** 138 * Set the decompression latency of compressed block. 139 * 140 * @param blk The compressed block. 141 * @param lat The decompression latency. 142 */ 143 static void setDecompressionLatency(CacheBlk* blk, const Cycles lat); --- 56 unchanged lines hidden --- | 136 137 /** 138 * Set the decompression latency of compressed block. 139 * 140 * @param blk The compressed block. 141 * @param lat The decompression latency. 142 */ 143 static void setDecompressionLatency(CacheBlk* blk, const Cycles lat); --- 56 unchanged lines hidden --- |