GarnetSyntheticTraffic.cc (11793:ef606668d247) | GarnetSyntheticTraffic.cc (12129:879f7ad9e246) |
---|---|
1/* 2 * Copyright (c) 2016 Georgia Institute of Technology 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; --- 62 unchanged lines hidden (view full) --- 71 if (!cachePort.sendTimingReq(pkt)) { 72 retryPkt = pkt; // RubyPort will retry sending 73 } 74 numPacketsSent++; 75} 76 77GarnetSyntheticTraffic::GarnetSyntheticTraffic(const Params *p) 78 : MemObject(p), | 1/* 2 * Copyright (c) 2016 Georgia Institute of Technology 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; --- 62 unchanged lines hidden (view full) --- 71 if (!cachePort.sendTimingReq(pkt)) { 72 retryPkt = pkt; // RubyPort will retry sending 73 } 74 numPacketsSent++; 75} 76 77GarnetSyntheticTraffic::GarnetSyntheticTraffic(const Params *p) 78 : MemObject(p), |
79 tickEvent(this), | 79 tickEvent([this]{ tick(); }, "GarnetSyntheticTraffic tick", 80 false, Event::CPU_Tick_Pri), |
80 cachePort("GarnetSyntheticTraffic", this), 81 retryPkt(NULL), 82 size(p->memory_size), 83 blockSizeBits(p->block_offset), 84 numDestinations(p->num_dest), 85 simCycles(p->sim_cycles), 86 numPacketsMax(p->num_packets_max), 87 numPacketsSent(0), --- 272 unchanged lines hidden --- | 81 cachePort("GarnetSyntheticTraffic", this), 82 retryPkt(NULL), 83 size(p->memory_size), 84 blockSizeBits(p->block_offset), 85 numDestinations(p->num_dest), 86 simCycles(p->sim_cycles), 87 numPacketsMax(p->num_packets_max), 88 numPacketsSent(0), --- 272 unchanged lines hidden --- |