traffic_gen.cc (12397:a6d362560825) traffic_gen.cc (12680:91f4d6668b4f)
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

--- 43 unchanged lines hidden (view full) ---

52#include "sim/stats.hh"
53#include "sim/system.hh"
54
55using namespace std;
56
57TrafficGen::TrafficGen(const TrafficGenParams* p)
58 : MemObject(p),
59 system(p->system),
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

--- 43 unchanged lines hidden (view full) ---

52#include "sim/stats.hh"
53#include "sim/system.hh"
54
55using namespace std;
56
57TrafficGen::TrafficGen(const TrafficGenParams* p)
58 : MemObject(p),
59 system(p->system),
60 masterID(system->getMasterId(name())),
60 masterID(system->getMasterId(this)),
61 configFile(p->config_file),
62 elasticReq(p->elastic_req),
63 progressCheck(p->progress_check),
64 noProgressEvent([this]{ noProgress(); }, name()),
65 nextTransitionTick(0),
66 nextPacketTick(0),
67 currState(0),
68 port(name() + ".port", *this),

--- 514 unchanged lines hidden ---
61 configFile(p->config_file),
62 elasticReq(p->elastic_req),
63 progressCheck(p->progress_check),
64 noProgressEvent([this]{ noProgress(); }, name()),
65 nextTransitionTick(0),
66 nextPacketTick(0),
67 currState(0),
68 port(name() + ".port", *this),

--- 514 unchanged lines hidden ---