tport.cc (4970:d0ed47928f9c) | tport.cc (5387:3323952c3bb4) |
---|---|
1/* 2 * Copyright (c) 2006 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; --- 69 unchanged lines hidden (view full) --- 78 Tick latency = recvAtomic(pkt); 79 // turn packet around to go back to requester if response expected 80 if (needsResponse) { 81 // recvAtomic() should already have turned packet into 82 // atomic response 83 assert(pkt->isResponse()); 84 schedSendTiming(pkt, curTick + latency); 85 } else { | 1/* 2 * Copyright (c) 2006 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; --- 69 unchanged lines hidden (view full) --- 78 Tick latency = recvAtomic(pkt); 79 // turn packet around to go back to requester if response expected 80 if (needsResponse) { 81 // recvAtomic() should already have turned packet into 82 // atomic response 83 assert(pkt->isResponse()); 84 schedSendTiming(pkt, curTick + latency); 85 } else { |
86 delete pkt->req; | |
87 delete pkt; 88 } 89 90 return true; 91} 92 93 94void --- 100 unchanged lines hidden --- | 86 delete pkt; 87 } 88 89 return true; 90} 91 92 93void --- 100 unchanged lines hidden --- |