1/* 2 * Copyright (c) 1999-2012 Mark D. Hill and David A. Wood 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 474 unchanged lines hidden (view full) --- 483 DPRINTF(RubyCache, "Testing Lock for addr: %#llx cur %d con %d\n", 484 address, m_cache[cacheSet][loc]->m_locked, context); 485 return m_cache[cacheSet][loc]->isLocked(context); 486} 487 488void 489CacheMemory::regStats() 490{ |
491 SimObject::regStats(); 492 |
493 m_demand_hits 494 .name(name() + ".demand_hits") 495 .desc("Number of cache demand hits") 496 ; 497 498 m_demand_misses 499 .name(name() + ".demand_misses") 500 .desc("Number of cache demand misses") --- 154 unchanged lines hidden --- |