Deleted Added
sdiff udiff text old ( 8717:5c253f1031d7 ) new ( 8828:e8fd0fc4a417 )
full compact
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 m_instCache_ptr->setMRU(request_line_address);
486 } else {
487 m_dataCache_ptr->setMRU(request_line_address);
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 ---