comparison mx/commands.py @ 8147:9786ac8fff61

Use different vm args for SPECjbb2013
author Gilles Duboscq <duboscq@ssw.jku.at>
date Thu, 07 Mar 2013 11:58:34 +0100
parents 8d10fc6b4f6c
children e0db99483b35
comparison
equal deleted inserted replaced
8146:8692cdcc86bd 8147:9786ac8fff61
1010 mx.abort('-it (Iteration time) needs a numeric value (seconds)') 1010 mx.abort('-it (Iteration time) needs a numeric value (seconds)')
1011 vmArgs.remove('-it') 1011 vmArgs.remove('-it')
1012 benchArgs.remove(args[itIdx+1]) 1012 benchArgs.remove(args[itIdx+1])
1013 vm = _vm; 1013 vm = _vm;
1014 sanitycheck.getSPECjvm2008(benchArgs, skipCheck, skipValid, wt, it).bench(vm, opts=vmArgs) 1014 sanitycheck.getSPECjvm2008(benchArgs, skipCheck, skipValid, wt, it).bench(vm, opts=vmArgs)
1015
1016 def specjbb2013(args):
1017 """runs the composite SPECjbb2013 benchmark
1018
1019 All options begining with - will be passed to the vm"""
1020 benchArgs = [a for a in args if a[0] != '-']
1021 vmArgs = [a for a in args if a[0] == '-']
1022 vm = _vm;
1023 sanitycheck.getSPECjbb2013(benchArgs).bench(vm, opts=vmArgs)
1015 1024
1016 def hsdis(args, copyToDir=None): 1025 def hsdis(args, copyToDir=None):
1017 """download the hsdis library 1026 """download the hsdis library
1018 1027
1019 This is needed to support HotSpot's assembly dumping features. 1028 This is needed to support HotSpot's assembly dumping features.
1113 'hcfdis': [hcfdis, ''], 1122 'hcfdis': [hcfdis, ''],
1114 'igv' : [igv, ''], 1123 'igv' : [igv, ''],
1115 'jdkhome': [jdkhome, ''], 1124 'jdkhome': [jdkhome, ''],
1116 'dacapo': [dacapo, '[[n] benchmark] [VM options|@DaCapo options]'], 1125 'dacapo': [dacapo, '[[n] benchmark] [VM options|@DaCapo options]'],
1117 'scaladacapo': [scaladacapo, '[[n] benchmark] [VM options|@Scala DaCapo options]'], 1126 'scaladacapo': [scaladacapo, '[[n] benchmark] [VM options|@Scala DaCapo options]'],
1118 'specjvm2008': [specjvm2008, '[VM options|@specjvm2008 options]'], 1127 'specjvm2008': [specjvm2008, '[VM options|specjvm2008 options (-v, -ikv, -ict, -wt, -it)]'],
1128 'specjbb2013': [specjbb2013, '[VM options]'],
1119 #'example': [example, '[-v] example names...'], 1129 #'example': [example, '[-v] example names...'],
1120 'gate' : [gate, '[-options]'], 1130 'gate' : [gate, '[-options]'],
1121 'gv' : [gv, ''], 1131 'gv' : [gv, ''],
1122 'bench' : [bench, '[-resultfile file] [all(default)|dacapo|specjvm2008|bootstrap]'], 1132 'bench' : [bench, '[-resultfile file] [all(default)|dacapo|specjvm2008|bootstrap]'],
1123 'unittest' : [unittest, '[filters...]'], 1133 'unittest' : [unittest, '[filters...]'],