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;
--- 274 unchanged lines hidden (view full) ---
283{
284 memory->doFunctionalAccess(pkt);
285 return memory->calculateLatency(pkt);
286}
287
288void
289PhysicalMemory::MemoryPort::recvFunctional(PacketPtr pkt)
290{
291 // Default implementation of SimpleTimingPort::recvFunctional()
292 // calls recvAtomic() and throws away the latency; we can save a
293 // little here by just not calculating the latency.
294 memory->doFunctionalAccess(pkt);
295}
296
297unsigned int
298PhysicalMemory::drain(Event *de)
--- 142 unchanged lines hidden ---
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;
--- 274 unchanged lines hidden (view full) ---
283{
284 memory->doFunctionalAccess(pkt);
285 return memory->calculateLatency(pkt);
286}
287
288void
289PhysicalMemory::MemoryPort::recvFunctional(PacketPtr pkt)
290{
291 // Default implementation of SimpleTimingPort::recvFunctional()
292 // calls recvAtomic() and throws away the latency; we can save a
293 // little here by just not calculating the latency.
294 memory->doFunctionalAccess(pkt);
295}
296
297unsigned int
298PhysicalMemory::drain(Event *de)
--- 142 unchanged lines hidden ---