Sequencer.cc (8717:5c253f1031d7) | Sequencer.cc (8828:e8fd0fc4a417) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 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; --- 468 unchanged lines hidden (view full) --- 477 Address request_address(pkt->getAddr()); 478 Address request_line_address(pkt->getAddr()); 479 request_line_address.makeLineAddress(); 480 RubyRequestType type = srequest->m_type; 481 Time issued_time = srequest->issue_time; 482 483 // Set this cache entry to the most recently used 484 if (type == RubyRequestType_IFETCH) { | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 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; --- 468 unchanged lines hidden (view full) --- 477 Address request_address(pkt->getAddr()); 478 Address request_line_address(pkt->getAddr()); 479 request_line_address.makeLineAddress(); 480 RubyRequestType type = srequest->m_type; 481 Time issued_time = srequest->issue_time; 482 483 // Set this cache entry to the most recently used 484 if (type == RubyRequestType_IFETCH) { |
485 if (m_instCache_ptr->isTagPresent(request_line_address)) 486 m_instCache_ptr->setMRU(request_line_address); | 485 m_instCache_ptr->setMRU(request_line_address); |
487 } else { | 486 } else { |
488 if (m_dataCache_ptr->isTagPresent(request_line_address)) 489 m_dataCache_ptr->setMRU(request_line_address); | 487 m_dataCache_ptr->setMRU(request_line_address); |
490 } 491 492 assert(g_eventQueue_ptr->getTime() >= issued_time); 493 Time miss_latency = g_eventQueue_ptr->getTime() - issued_time; 494 495 // Profile the miss latency for all non-zero demand misses 496 if (miss_latency != 0) { 497 g_system_ptr->getProfiler()->missLatency(miss_latency, type, mach); --- 244 unchanged lines hidden --- | 488 } 489 490 assert(g_eventQueue_ptr->getTime() >= issued_time); 491 Time miss_latency = g_eventQueue_ptr->getTime() - issued_time; 492 493 // Profile the miss latency for all non-zero demand misses 494 if (miss_latency != 0) { 495 g_system_ptr->getProfiler()->missLatency(miss_latency, type, mach); --- 244 unchanged lines hidden --- |