[PATCH] D133153: [support] Prepare TimeProfiler for cross-thread support

Mark Shields via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 17:15:22 PDT 2022


mbs-modular added a comment.

Thx again, reverted raw_pwrite_stream change, timings look like +3% with -ftime-trace as usual.



================
Comment at: llvm/include/llvm/Support/TimeProfiler.h:80
 #include "llvm/ADT/STLFunctionalExtras.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Support/Error.h"
----------------
rriddle wrote:
> Why the extra include?
Just a IWYU force of habit I guess.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133153/new/

https://reviews.llvm.org/D133153



More information about the llvm-commits mailing list