GarnetSyntheticTraffic.cc (12334:e0ab29a34764) GarnetSyntheticTraffic.cc (12680:91f4d6668b4f)
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;

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

88 numPacketsSent(0),
89 singleSender(p->single_sender),
90 singleDest(p->single_dest),
91 trafficType(p->traffic_type),
92 injRate(p->inj_rate),
93 injVnet(p->inj_vnet),
94 precision(p->precision),
95 responseLimit(p->response_limit),
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;

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

88 numPacketsSent(0),
89 singleSender(p->single_sender),
90 singleDest(p->single_dest),
91 trafficType(p->traffic_type),
92 injRate(p->inj_rate),
93 injVnet(p->inj_vnet),
94 precision(p->precision),
95 responseLimit(p->response_limit),
96 masterId(p->system->getMasterId(name()))
96 masterId(p->system->getMasterId(this))
97{
98 // set up counters
99 noResponseCycles = 0;
100 schedule(tickEvent, 0);
101
102 initTrafficType();
103 if (trafficStringToEnum.count(trafficType) == 0) {
104 fatal("Unknown Traffic Type: %s!\n", traffic);

--- 256 unchanged lines hidden ---
97{
98 // set up counters
99 noResponseCycles = 0;
100 schedule(tickEvent, 0);
101
102 initTrafficType();
103 if (trafficStringToEnum.count(trafficType) == 0) {
104 fatal("Unknown Traffic Type: %s!\n", traffic);

--- 256 unchanged lines hidden ---