[PATCH] D65202: [Support] Fix `-ftime-trace-granularity` option

Anton Afanasyev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 24 07:15:37 PDT 2019


anton-afanasyev marked an inline comment as done.
anton-afanasyev added inline comments.


================
Comment at: clang/docs/ClangCommandLineReference.rst:1951
+
+Minimum time granularity (in microseconds) traced by time profiler
+
----------------
anton-afanasyev wrote:
> sammccall wrote:
> > is there any possibility of wanting a granularity <1ms in the future? This sets up a backward-compatibility trap if so.
> Does it really make sense? One can use `-ftime-trace-granularity=0`, which can show all events.
To be more correct, this granularity value (`-ftime-trace-granularity=0`) will work after this old patch https://reviews.llvm.org/D63325 is commited.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65202





More information about the cfe-commits mailing list