Benchmarks.py (8088:ac1bd3d1aa54) Benchmarks.py (8212:134bd699967a)
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

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

50
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'))
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

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

50
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'))
58 else:
59 print "Don't know what default disk image to use for ISA %s" % \
60 buildEnv['TARGET_ISA']
61 sys.exit(1)
62
63# Benchmarks are defined as a key in a dict which is a list of SysConfigs
64# The first defined machine is the test system, the others are driving systems
65

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

104 'ValTlbLat': [SysConfig('micro_tlblat.rcS', '512MB')],
105 'ValSysLat': [SysConfig('micro_syscall.rcS', '512MB')],
106 'ValCtxLat': [SysConfig('micro_ctx.rcS', '512MB')],
107 'ValStream': [SysConfig('micro_stream.rcS', '512MB')],
108 'ValStreamScale': [SysConfig('micro_streamscale.rcS', '512MB')],
109 'ValStreamCopy': [SysConfig('micro_streamcopy.rcS', '512MB')],
110
111 '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')],
112
113 'bnAn': [SysConfig('/z/saidi/work/m5.newmem.head/configs/boot/bn-app.rcS',
114 '128MB', '/z/saidi/work/bottleneck/bnimg.img')]
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')],
115}
116
117benchs = Benchmarks.keys()
118benchs.sort()
119DefinedBenchmarks = ", ".join(benchs)
118}
119
120benchs = Benchmarks.keys()
121benchs.sort()
122DefinedBenchmarks = ", ".join(benchs)