rakhimov / cppdep

C/C++ Dependency Analyzer: a rewrite of John Lakos' dep_utils (adep/cdep/ldep) from "Large-Scale C++ Software Design"
GNU General Public License v3.0
141 stars 19 forks source link

Concurrent jobs #14

Open rakhimov opened 7 years ago

rakhimov commented 7 years ago

Analyze files/packages concurrently. Add '-j' flag.

rakhimov commented 7 years ago

This is an optimization step with following pre-requisites:

rakhimov commented 7 years ago

Potential parallelism points:

  1. for each package gather/create components (src files, header pairing) (IO) a. for each dir in package gather/create components
  2. for each component parse source files and gather include directives (non-recursive) (IO) a. for each component populate its dependency components
  3. for each package/group/filter-type construct graphs a. for each graph (NetworkX) perform dependency analysis
  4. report (IO) (per graph)