memtest.py (10690:4972ada74310) | memtest.py (10705:c6cb94a14fea) |
---|---|
1# Copyright (c) 2015 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 96 unchanged lines hidden (view full) --- 105(options, args) = parser.parse_args() 106 107if args: 108 print "Error: script doesn't take any positional arguments" 109 sys.exit(1) 110 111block_size = 64 112 | 1# Copyright (c) 2015 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 96 unchanged lines hidden (view full) --- 105(options, args) = parser.parse_args() 106 107if args: 108 print "Error: script doesn't take any positional arguments" 109 sys.exit(1) 110 111block_size = 64 112 |
113# Start by partins the command line options and do some basic sanity | 113# Start by parsing the command line options and do some basic sanity |
114# checking 115try: 116 cachespec = [int(x) for x in options.caches.split(':')] 117 testerspec = [int(x) for x in options.testers.split(':')] 118except: 119 print "Error: Unable to parse caches or testers option" 120 sys.exit(1) 121 --- 172 unchanged lines hidden --- | 114# checking 115try: 116 cachespec = [int(x) for x in options.caches.split(':')] 117 testerspec = [int(x) for x in options.testers.split(':')] 118except: 119 print "Error: Unable to parse caches or testers option" 120 sys.exit(1) 121 --- 172 unchanged lines hidden --- |