test.py revision 11851:824055fe6b30
111444Sm.alian1369@gmail.com# Copyright (c) 2006-2007 The Regents of The University of Michigan
211444Sm.alian1369@gmail.com# All rights reserved.
311444Sm.alian1369@gmail.com#
411444Sm.alian1369@gmail.com# Redistribution and use in source and binary forms, with or without
511444Sm.alian1369@gmail.com# modification, are permitted provided that the following conditions are
611444Sm.alian1369@gmail.com# met: redistributions of source code must retain the above copyright
711444Sm.alian1369@gmail.com# notice, this list of conditions and the following disclaimer;
811444Sm.alian1369@gmail.com# redistributions in binary form must reproduce the above copyright
911444Sm.alian1369@gmail.com# notice, this list of conditions and the following disclaimer in the
1011444Sm.alian1369@gmail.com# documentation and/or other materials provided with the distribution;
1111444Sm.alian1369@gmail.com# neither the name of the copyright holders nor the names of its
1211444Sm.alian1369@gmail.com# contributors may be used to endorse or promote products derived from
1311444Sm.alian1369@gmail.com# this software without specific prior written permission.
1411444Sm.alian1369@gmail.com#
1511444Sm.alian1369@gmail.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1611444Sm.alian1369@gmail.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1711444Sm.alian1369@gmail.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1811444Sm.alian1369@gmail.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1911444Sm.alian1369@gmail.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2011444Sm.alian1369@gmail.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2111444Sm.alian1369@gmail.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2211444Sm.alian1369@gmail.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2311444Sm.alian1369@gmail.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2411444Sm.alian1369@gmail.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2511444Sm.alian1369@gmail.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2611444Sm.alian1369@gmail.com#
2711444Sm.alian1369@gmail.com# Authors: Korey Sewell
2811444Sm.alian1369@gmail.com
2911444Sm.alian1369@gmail.comm5.util.addToPath('../configs/common')
3011444Sm.alian1369@gmail.comfrom cpu2000 import perlbmk_makerand
3111444Sm.alian1369@gmail.com
3211444Sm.alian1369@gmail.comworkload = perlbmk_makerand(isa, opsys, 'mdred')
3311444Sm.alian1369@gmail.comroot.system.cpu[0].workload = workload.makeProcess()
3411444Sm.alian1369@gmail.com