dram_rot_gen.cc (12396:3d04ea44fafb) | dram_rot_gen.cc (12804:f47e75dce5c6) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2016-2017 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 33 unchanged lines hidden (view full) --- 42 43#include "cpu/testers/traffic_gen/dram_rot_gen.hh" 44 45#include <algorithm> 46 47#include "base/random.hh" 48#include "base/trace.hh" 49#include "debug/TrafficGen.hh" | 1/* 2 * Copyright (c) 2012-2013, 2016-2017 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 33 unchanged lines hidden (view full) --- 42 43#include "cpu/testers/traffic_gen/dram_rot_gen.hh" 44 45#include <algorithm> 46 47#include "base/random.hh" 48#include "base/trace.hh" 49#include "debug/TrafficGen.hh" |
50#include "proto/packet.pb.h" | |
51 52PacketPtr 53DramRotGen::getNextPacket() 54{ 55 // if this is the first of the packets in series to be generated, 56 // start counting again 57 if (countNumSeqPkts == 0) { 58 countNumSeqPkts = numSeqPkts; --- 82 unchanged lines hidden --- | 50 51PacketPtr 52DramRotGen::getNextPacket() 53{ 54 // if this is the first of the packets in series to be generated, 55 // start counting again 56 if (countNumSeqPkts == 0) { 57 countNumSeqPkts = numSeqPkts; --- 82 unchanged lines hidden --- |