CacheMemory.cc (11430:bd1c6789c33f) | CacheMemory.cc (11523:81332eb10367) |
---|---|
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{ | 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 |
|
491 m_demand_hits 492 .name(name() + ".demand_hits") 493 .desc("Number of cache demand hits") 494 ; 495 496 m_demand_misses 497 .name(name() + ".demand_misses") 498 .desc("Number of cache demand misses") --- 154 unchanged lines hidden --- | 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 --- |