test.py revision 9792
13142SN/A# Copyright (c) 2006 The Regents of The University of Michigan
23142SN/A# All rights reserved.
33142SN/A#
43142SN/A# Redistribution and use in source and binary forms, with or without
53142SN/A# modification, are permitted provided that the following conditions are
63142SN/A# met: redistributions of source code must retain the above copyright
73142SN/A# notice, this list of conditions and the following disclaimer;
83142SN/A# redistributions in binary form must reproduce the above copyright
93142SN/A# notice, this list of conditions and the following disclaimer in the
103142SN/A# documentation and/or other materials provided with the distribution;
113142SN/A# neither the name of the copyright holders nor the names of its
123142SN/A# contributors may be used to endorse or promote products derived from
133142SN/A# this software without specific prior written permission.
143142SN/A#
153142SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
163142SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
173142SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
183142SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
193142SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
203142SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
213142SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
223142SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
233142SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
243142SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
253142SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
263142SN/A#
273142SN/A# Authors: Korey Sewell
283142SN/A
293142SN/Aprocess1 = LiveProcess(cmd = 'hello', executable = binpath('hello'))
303142SN/Aprocess2 = LiveProcess(cmd = 'hello', executable = binpath('hello'))
313142SN/A
329792Sandreas.hansson@arm.comroot.system.cpu[0].workload = [process1, process2]
339792Sandreas.hansson@arm.comroot.system.cpu[0].numThreads = 2
34