Benchmarks.py (8212:134bd699967a) Benchmarks.py (8528:1f95c9a0bb2f)
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('ael-arm.ext2'))
59 return env.get('LINUX_IMAGE', disk('linux-arm-ael.img'))
60 else:
61 print "Don't know what default disk image to use for ISA %s" % \
62 buildEnv['TARGET_ISA']
63 sys.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

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

106 'ValTlbLat': [SysConfig('micro_tlblat.rcS', '512MB')],
107 'ValSysLat': [SysConfig('micro_syscall.rcS', '512MB')],
108 'ValCtxLat': [SysConfig('micro_ctx.rcS', '512MB')],
109 'ValStream': [SysConfig('micro_stream.rcS', '512MB')],
110 'ValStreamScale': [SysConfig('micro_streamscale.rcS', '512MB')],
111 'ValStreamCopy': [SysConfig('micro_streamcopy.rcS', '512MB')],
112
113 'MutexTest': [SysConfig('mutex-test.rcS', '128MB')],
60 else:
61 print "Don't know what default disk image to use for ISA %s" % \
62 buildEnv['TARGET_ISA']
63 sys.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

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

106 'ValTlbLat': [SysConfig('micro_tlblat.rcS', '512MB')],
107 'ValSysLat': [SysConfig('micro_syscall.rcS', '512MB')],
108 'ValCtxLat': [SysConfig('micro_ctx.rcS', '512MB')],
109 'ValStream': [SysConfig('micro_stream.rcS', '512MB')],
110 'ValStreamScale': [SysConfig('micro_streamscale.rcS', '512MB')],
111 'ValStreamCopy': [SysConfig('micro_streamcopy.rcS', '512MB')],
112
113 'MutexTest': [SysConfig('mutex-test.rcS', '128MB')],
114 'ArmLinux': [SysConfig('null.rcS', '128MB', 'ael-arm.ext2')],
115 'ArmLinuxFrameBuf': [SysConfig('null.rcS', '128MB', 'ael-full.ext2')],
116 'ArmLinuxCflash': [SysConfig('null.rcS', '256MB', 'linux-arm.img')],
117 'ArmAndroid': [SysConfig('null.rcS', '256MB', 'android-mbr.img')],
118}
119
120benchs = Benchmarks.keys()
121benchs.sort()
122DefinedBenchmarks = ", ".join(benchs)
114 'ArmAndroid': [SysConfig('null.rcS', '256MB', 'android-mbr.img')],
115}
116
117benchs = Benchmarks.keys()
118benchs.sort()
119DefinedBenchmarks = ", ".join(benchs)