compressed_tags.hh (13938:14f80b6b37c1) | compressed_tags.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; --- 83 unchanged lines hidden (view full) --- 92 virtual ~CompressedTags() {}; 93 94 /** 95 * Initialize blocks as SuperBlk and CompressionBlk instances. 96 */ 97 void tagsInit() override; 98 99 /** | 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; --- 83 unchanged lines hidden (view full) --- 92 virtual ~CompressedTags() {}; 93 94 /** 95 * Initialize blocks as SuperBlk and CompressionBlk instances. 96 */ 97 void tagsInit() override; 98 99 /** |
100 * Insert the new block into the cache and update replacement data. 101 * 102 * @param pkt Packet holding the address to update 103 * @param blk The block to update. 104 */ 105 void insertBlock(const PacketPtr pkt, CacheBlk *blk) override; 106 107 /** |
|
100 * Visit each sub-block in the tags and apply a visitor. 101 * 102 * The visitor should be a std::function that takes a cache block. 103 * reference as its parameter. 104 * 105 * @param visitor Visitor to call on each block. 106 */ 107 void forEachBlk(std::function<void(CacheBlk &)> visitor) override; --- 14 unchanged lines hidden --- | 108 * Visit each sub-block in the tags and apply a visitor. 109 * 110 * The visitor should be a std::function that takes a cache block. 111 * reference as its parameter. 112 * 113 * @param visitor Visitor to call on each block. 114 */ 115 void forEachBlk(std::function<void(CacheBlk &)> visitor) override; --- 14 unchanged lines hidden --- |