[all-commits] [llvm/llvm-project] 0502d8: Minor fixes on the MLIR ActionProfiler (NFC)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Oct 2 20:11:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0502d83470202de6412d4b310692c7b06f1791cb
      https://github.com/llvm/llvm-project/commit/0502d83470202de6412d4b310692c7b06f1791cb
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-10-02 (Mon, 02 Oct 2023)

  Changed paths:
    M mlir/include/mlir/Debug/Observers/ActionProfiler.h
    M mlir/lib/Debug/Observers/ActionProfiler.cpp

  Log Message:
  -----------
  Minor fixes on the MLIR ActionProfiler (NFC)

Ensure the stream flushed to the string before acquiring the mutext.
No need to flush the output stream, the goal of the mutex is to sync
ahead before content is added to the stream.




More information about the All-commits mailing list