Mercurial > hg > graal-jvmci-8
comparison mx/commands.py @ 8182:e0db99483b35
Merge.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 08 Mar 2013 15:58:08 +0100 |
parents | 0934903d28f3 9786ac8fff61 |
children | 4b11a0983557 |
comparison
equal
deleted
inserted
replaced
8181:989e0582a30f | 8182:e0db99483b35 |
---|---|
1013 mx.abort('-it (Iteration time) needs a numeric value (seconds)') | 1013 mx.abort('-it (Iteration time) needs a numeric value (seconds)') |
1014 vmArgs.remove('-it') | 1014 vmArgs.remove('-it') |
1015 benchArgs.remove(args[itIdx+1]) | 1015 benchArgs.remove(args[itIdx+1]) |
1016 vm = _vm; | 1016 vm = _vm; |
1017 sanitycheck.getSPECjvm2008(benchArgs, skipCheck, skipValid, wt, it).bench(vm, opts=vmArgs) | 1017 sanitycheck.getSPECjvm2008(benchArgs, skipCheck, skipValid, wt, it).bench(vm, opts=vmArgs) |
1018 | |
1019 def specjbb2013(args): | |
1020 """runs the composite SPECjbb2013 benchmark | |
1021 | |
1022 All options begining with - will be passed to the vm""" | |
1023 benchArgs = [a for a in args if a[0] != '-'] | |
1024 vmArgs = [a for a in args if a[0] == '-'] | |
1025 vm = _vm; | |
1026 sanitycheck.getSPECjbb2013(benchArgs).bench(vm, opts=vmArgs) | |
1018 | 1027 |
1019 def hsdis(args, copyToDir=None): | 1028 def hsdis(args, copyToDir=None): |
1020 """download the hsdis library | 1029 """download the hsdis library |
1021 | 1030 |
1022 This is needed to support HotSpot's assembly dumping features. | 1031 This is needed to support HotSpot's assembly dumping features. |
1116 'hcfdis': [hcfdis, ''], | 1125 'hcfdis': [hcfdis, ''], |
1117 'igv' : [igv, ''], | 1126 'igv' : [igv, ''], |
1118 'jdkhome': [jdkhome, ''], | 1127 'jdkhome': [jdkhome, ''], |
1119 'dacapo': [dacapo, '[[n] benchmark] [VM options|@DaCapo options]'], | 1128 'dacapo': [dacapo, '[[n] benchmark] [VM options|@DaCapo options]'], |
1120 'scaladacapo': [scaladacapo, '[[n] benchmark] [VM options|@Scala DaCapo options]'], | 1129 'scaladacapo': [scaladacapo, '[[n] benchmark] [VM options|@Scala DaCapo options]'], |
1121 'specjvm2008': [specjvm2008, '[VM options|@specjvm2008 options]'], | 1130 'specjvm2008': [specjvm2008, '[VM options|specjvm2008 options (-v, -ikv, -ict, -wt, -it)]'], |
1131 'specjbb2013': [specjbb2013, '[VM options]'], | |
1122 #'example': [example, '[-v] example names...'], | 1132 #'example': [example, '[-v] example names...'], |
1123 'gate' : [gate, '[-options]'], | 1133 'gate' : [gate, '[-options]'], |
1124 'gv' : [gv, ''], | 1134 'gv' : [gv, ''], |
1125 'bench' : [bench, '[-resultfile file] [all(default)|dacapo|specjvm2008|bootstrap]'], | 1135 'bench' : [bench, '[-resultfile file] [all(default)|dacapo|specjvm2008|bootstrap]'], |
1126 'unittest' : [unittest, '[filters...]'], | 1136 'unittest' : [unittest, '[filters...]'], |