sector_tags.hh (13418:08101e89101e) | sector_tags.hh (13419:aaadcfae091a) |
---|---|
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; --- 87 unchanged lines hidden (view full) --- 96 SectorTags(const Params *p); 97 98 /** 99 * Destructor. 100 */ 101 virtual ~SectorTags() {}; 102 103 /** | 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; --- 87 unchanged lines hidden (view full) --- 96 SectorTags(const Params *p); 97 98 /** 99 * Destructor. 100 */ 101 virtual ~SectorTags() {}; 102 103 /** |
104 * Initialize blocks and set the parent cache back pointer. 105 * 106 * @param _cache Pointer to parent cache. | 104 * Initialize blocks as SectorBlk and SectorSubBlk instances. |
107 */ | 105 */ |
108 void tagsInit(BaseCache *_cache) override; | 106 void tagsInit() override; |
109 110 /** 111 * This function updates the tags when a block is invalidated but does 112 * not invalidate the block itself. It also updates the replacement data. 113 * 114 * @param blk The block to invalidate. 115 */ 116 void invalidate(CacheBlk *blk) override; --- 87 unchanged lines hidden --- | 107 108 /** 109 * This function updates the tags when a block is invalidated but does 110 * not invalidate the block itself. It also updates the replacement data. 111 * 112 * @param blk The block to invalidate. 113 */ 114 void invalidate(CacheBlk *blk) override; --- 87 unchanged lines hidden --- |