Benchmarks.py (9070:fa77985a87c6) | Benchmarks.py (10512:b423e1d0735e) |
---|---|
1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 42 unchanged lines hidden (view full) --- 51 def disk(self): 52 if self.diskname: 53 return disk(self.diskname) 54 elif buildEnv['TARGET_ISA'] == 'alpha': 55 return env.get('LINUX_IMAGE', disk('linux-latest.img')) 56 elif buildEnv['TARGET_ISA'] == 'x86': 57 return env.get('LINUX_IMAGE', disk('x86root.img')) 58 elif buildEnv['TARGET_ISA'] == 'arm': | 1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 42 unchanged lines hidden (view full) --- 51 def disk(self): 52 if self.diskname: 53 return disk(self.diskname) 54 elif buildEnv['TARGET_ISA'] == 'alpha': 55 return env.get('LINUX_IMAGE', disk('linux-latest.img')) 56 elif buildEnv['TARGET_ISA'] == 'x86': 57 return env.get('LINUX_IMAGE', disk('x86root.img')) 58 elif buildEnv['TARGET_ISA'] == 'arm': |
59 return env.get('LINUX_IMAGE', disk('linux-arm-ael.img')) | 59 return env.get('LINUX_IMAGE', disk('linux-aarch32-ael.img')) |
60 else: 61 print "Don't know what default disk image to use for %s ISA" % \ 62 buildEnv['TARGET_ISA'] 63 exit(1) 64 65# Benchmarks are defined as a key in a dict which is a list of SysConfigs 66# The first defined machine is the test system, the others are driving systems 67 --- 59 unchanged lines hidden --- | 60 else: 61 print "Don't know what default disk image to use for %s ISA" % \ 62 buildEnv['TARGET_ISA'] 63 exit(1) 64 65# Benchmarks are defined as a key in a dict which is a list of SysConfigs 66# The first defined machine is the test system, the others are driving systems 67 --- 59 unchanged lines hidden --- |