OSDN Git Service

Use parallel subprocesses to classify warnings.
authorChih-Hung Hsieh <chh@google.com>
Tue, 11 Oct 2016 22:25:26 +0000 (15:25 -0700)
committerChih-Hung Hsieh <chh@google.com>
Tue, 18 Oct 2016 00:47:20 +0000 (17:47 -0700)
commita6bd044ac15370c66d984111d19fe3b31113d42e
treea2f068ae382eecf689e4c852cb4d027efff2984c
parent8ef4397c2241964b7db5d424b0d14dfe73922696
Use parallel subprocesses to classify warnings.

* Add a --processes flag to specify number of parallel processes,
  with default multiprocessing.cpu_count().
* Wrap long line to suppress pylint warning.

Test: run warn.py with a large build.log file.
Change-Id: I9a93a9324bc531c1bce741367013051ce40a67fa
tools/warn.py