DirectedGenerator.cc (8832:247fee427324) DirectedGenerator.cc (11320:42ecb523c64a)
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

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

33DirectedGenerator::DirectedGenerator(const Params *p)
34 : SimObject(p),
35 masterId(p->system->getMasterId(name()))
36{
37 m_num_cpus = p->num_cpus;
38 m_directed_tester = NULL;
39}
40
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

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

33DirectedGenerator::DirectedGenerator(const Params *p)
34 : SimObject(p),
35 masterId(p->system->getMasterId(name()))
36{
37 m_num_cpus = p->num_cpus;
38 m_directed_tester = NULL;
39}
40
41void
41void
42DirectedGenerator::setDirectedTester(RubyDirectedTester* directed_tester)
43{
44 assert(m_directed_tester == NULL);
45 m_directed_tester = directed_tester;
46}
42DirectedGenerator::setDirectedTester(RubyDirectedTester* directed_tester)
43{
44 assert(m_directed_tester == NULL);
45 m_directed_tester = directed_tester;
46}