SeriesRequestGenerator.cc (11320:42ecb523c64a) SeriesRequestGenerator.cc (11793:ef606668d247)
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * Copyright (c) 2009-2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * Copyright (c) 2009-2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#include "cpu/testers/directedtest/SeriesRequestGenerator.hh"
31
30#include "base/random.hh"
31#include "cpu/testers/directedtest/DirectedGenerator.hh"
32#include "cpu/testers/directedtest/RubyDirectedTester.hh"
32#include "base/random.hh"
33#include "cpu/testers/directedtest/DirectedGenerator.hh"
34#include "cpu/testers/directedtest/RubyDirectedTester.hh"
33#include "cpu/testers/directedtest/SeriesRequestGenerator.hh"
34#include "debug/DirectedTest.hh"
35
36SeriesRequestGenerator::SeriesRequestGenerator(const Params *p)
37 : DirectedGenerator(p),
38 m_addr_increment_size(p->addr_increment_size),
39 m_percent_writes(p->percent_writes)
40{
41 m_status = SeriesRequestGeneratorStatus_Thinking;

--- 73 unchanged lines hidden ---
35#include "debug/DirectedTest.hh"
36
37SeriesRequestGenerator::SeriesRequestGenerator(const Params *p)
38 : DirectedGenerator(p),
39 m_addr_increment_size(p->addr_increment_size),
40 m_percent_writes(p->percent_writes)
41{
42 m_status = SeriesRequestGeneratorStatus_Thinking;

--- 73 unchanged lines hidden ---