[PATCH] D111042: flang-omp-report summarising script

Ivan Zhechev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 4 01:54:24 PDT 2021


ijan1 created this revision.
Herald added a reviewer: sscalpone.
Herald added a project: Flang.
ijan1 requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

This Python script summarises the YAML files
generated by ``flang-omp-report``.
It outputs a summary in the form of:

  - construct: parallel
    num: 16
    clauses:
    - clause: firstprivate
      num: 2
    - clause: num_threads
      num: 2

It can also combine all files generated by
``flang-omp-report`` into one log file.

Outstanding issues:

- It only works with ``ruamel.yaml`` installed
- Needs refactoring


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111042

Files:
  flang/examples/flang-omp-report-plugin/yaml_summarizer.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111042.376824.patch
Type: text/x-patch
Size: 4673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211004/dcf9b815/attachment.bin>


More information about the llvm-commits mailing list