12998SN/A# Copyright (c) 2006 The Regents of The University of Michigan
22998SN/A# All rights reserved.
32998SN/A#
42998SN/A# Redistribution and use in source and binary forms, with or without
52998SN/A# modification, are permitted provided that the following conditions are
62998SN/A# met: redistributions of source code must retain the above copyright
72998SN/A# notice, this list of conditions and the following disclaimer;
82998SN/A# redistributions in binary form must reproduce the above copyright
92998SN/A# notice, this list of conditions and the following disclaimer in the
102998SN/A# documentation and/or other materials provided with the distribution;
112998SN/A# neither the name of the copyright holders nor the names of its
122998SN/A# contributors may be used to endorse or promote products derived from
132998SN/A# this software without specific prior written permission.
142998SN/A#
152998SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
162998SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
172998SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
182998SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
192998SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
202998SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
212998SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
222998SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
232998SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
242998SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
252998SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
262998SN/A#
272998SN/A# Authors: Steve Reinhardt
282998SN/A
2911851Sbrandon.potter@amd.comroot.system.cpu[0].workload = Process(cmd = 'hello',
3011851Sbrandon.potter@amd.com                                      executable = binpath('hello'))
319792Sandreas.hansson@arm.comif root.system.cpu[0].checker != NULL:
329792Sandreas.hansson@arm.com    root.system.cpu[0].checker.workload = root.system.cpu[0].workload
33