memtest.cc (11800:54436a1784dc) memtest.cc (12085:de78ea63e0ca)
1/*
2 * Copyright (c) 2015 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

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

81 return false;
82 }
83 }
84 return true;
85}
86
87MemTest::MemTest(const Params *p)
88 : MemObject(p),
1/*
2 * Copyright (c) 2015 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

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

81 return false;
82 }
83 }
84 return true;
85}
86
87MemTest::MemTest(const Params *p)
88 : MemObject(p),
89 tickEvent(this),
90 noRequestEvent(this),
91 noResponseEvent(this),
89 tickEvent([this]{ tick(); }, name()),
90 noRequestEvent([this]{ noRequest(); }, name()),
91 noResponseEvent([this]{ noResponse(); }, name()),
92 port("port", *this),
93 retryPkt(nullptr),
94 size(p->size),
95 interval(p->interval),
96 percentReads(p->percent_reads),
97 percentFunctional(p->percent_functional),
98 percentUncacheable(p->percent_uncacheable),
99 masterId(p->system->getMasterId(name())),

--- 241 unchanged lines hidden ---
92 port("port", *this),
93 retryPkt(nullptr),
94 size(p->size),
95 interval(p->interval),
96 percentReads(p->percent_reads),
97 percentFunctional(p->percent_functional),
98 percentUncacheable(p->percent_uncacheable),
99 masterId(p->system->getMasterId(name())),

--- 241 unchanged lines hidden ---