Home | History | Annotate | Download | only in bench

Lines Matching refs:exception

42     print '   Will raise exception if actual bench values are out of range.'
104 raise Exception('Duplicate expectation entry: ' + str(point_name))
115 raise Exception("Invalid expectation line format: %s" %
119 raise Exception("Dup entries for bench expectation %s" %
142 Exception containing bench data that are out of range, if any.
148 # to a list of corresponding exception messages.
163 exception = 'Bench %s out of range [%s, %s] (%s vs %s, %s%%).' % (
166 exception += '\n' + '~'.join([
169 exceptions[SLOWER].setdefault(off_ratio, []).append(exception)
171 exceptions[FASTER].setdefault(off_ratio, []).append(exception)
186 # Directly raising Exception will have stderr outputs tied to the line
189 sys.stderr.write('\n'.join(['Exception:'] + outputs + ['\n']))