1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 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; --- 400 unchanged lines hidden (view full) --- 409{ 410 memory->doFunctionalAccess(pkt); 411 return memory->calculateLatency(pkt); 412} 413 414void 415PhysicalMemory::MemoryPort::recvFunctional(PacketPtr pkt) 416{ |
417 checkFunctional(pkt); |
418 |
419 // Default implementation of SimpleTimingPort::recvFunctional() 420 // calls recvAtomic() and throws away the latency; we can save a 421 // little here by just not calculating the latency. 422 memory->doFunctionalAccess(pkt); 423} 424 425unsigned int 426PhysicalMemory::drain(Event *de) --- 149 unchanged lines hidden --- |