Skip to content

Update diff_complexity.py

Reason why this change is needed

  • N/A

Description of the change

  • The complexity diff script was updated, the old regex breaks for automatically instrumented routines ([WMC_AUTO] contains non-word (\w) chars)
  • Additional --dump_bsl and --dump_cut arguments to just parse the WMOPs+Memory data and dump it to the specified .csv file
  • Verbose flag renamed to --detailed, which prints identical routines, routines unique to BSL and CUT, and a routine-level diff
    • If this is used with the --output argument, an additional _diff_detailed.csv is created which contains the routine level diff
    • --sort can also be used to sort by one of the WMOPs columns

Affected operating points

  • N/A

Merge request reports

Loading