Lines Matching refs:logging
62 import logging
132 logging.error('Perf key "%s" isn\'t associated with a known '
136 logging.error('Perf key "%s" is associated with more than one '
238 logging.info('Invoking crosperf with created experiment file...')
248 logging.debug(next_line)
254 logging.error('Crosperf returned exit code %s', exit_code)
259 logging.error('Crosperf report file missing, cannot proceed.')
262 logging.info('Crosperf run complete.')
263 logging.info('Crosperf results available in "%s"', result_dir)
329 logging.info('P-value results available in "%s"', result_file)
345 logging.info('The following perf keys showed statistically significant '
348 logging.info('* [%s] %s (p-value %s)', item[0], item[1], item[2])
350 logging.info('No perf keys showed statistically significant result '
354 logging.info('The following perf keys had "NaN" p-values:')
356 logging.info('* [%s] %s (p-value %s)', item[0], item[1], item[2])
362 logging.warning('Could not find results for requested perf key '
443 default=False, help='Use verbose logging.')
464 logging.error('You must specify the path to a crosperf executable.')
467 logging.error('Could not locate crosperf executable "%s".',
470 logging.error('Did you remember to run prodaccess?')
473 logging.error('You must specify the paths for 2 image .bin files.')
476 logging.error('You must specify the board name(s): either a single '
481 logging.error('Specify either one board with --board, or two boards '
485 logging.error('You must specify the remote device(s) to use: either a '
490 logging.error('Specify either one remote device with --remote, or two '
494 logging.error('You should only specify multiple iteration numbers '
500 logging.error('You specified %d custom perf keys, but only %d '
510 log_level = logging.DEBUG if options.verbose else logging.INFO
511 logging.basicConfig(format='%(asctime)s %(levelname)s: %(message)s',