================ @@ -99,6 +100,16 @@ URL of repository that hosts code. Used for links to definition locations.)"), llvm::cl::cat(ClangDocCategory)); +static llvm::cl::opt<bool> FTimeTrace("ftime-trace", llvm::cl::desc(R"( +Turn on time profiler. Generates clang-doc-tracing.json)"), + llvm::cl::init(false), + llvm::cl::cat(ClangDocCategory)); + +static llvm::cl::opt<int> FTimeGranularity("ftime-gran", llvm::cl::desc(R"( ---------------- PeterChou1 wrote:
I thought it be useful to set granularity for ftime trace, I've adjusted the pr to just set it as a constant https://github.com/llvm/llvm-project/pull/97644 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits