1/* 2 * Copyright (c) 2013,2016,2018 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 180 unchanged lines hidden (view full) --- 189 190std::string 191BaseTags::print() 192{ 193 std::string str; 194 195 auto print_blk = [&str](CacheBlk &blk) { 196 if (blk.isValid()) |
197 str += csprintf("\tset: %x, way: %x %s\n", blk.getSet(), 198 blk.getWay(), blk.print()); |
199 }; 200 forEachBlk(print_blk); 201 202 if (str.empty()) 203 str = "no valid tags\n"; 204 205 return str; 206} --- 91 unchanged lines hidden --- |