[Mlir-commits] [mlir] [OpenMP] Improve omp offload profiler (PR #68016)
Mark Dewing
llvmlistbot at llvm.org
Fri Oct 6 09:11:28 PDT 2023
================
@@ -432,12 +432,21 @@ class ExponentialBackoff {
#define TIMESCOPE_WITH_RTM_AND_IDENT(RegionTypeMsg, IDENT) \
SourceInfo SI(IDENT); \
std::string ProfileLocation = SI.getProfileLocation(); \
+ std::string ProfileName = SI.getName(); \
std::string RTM = RegionTypeMsg; \
llvm::TimeTraceScope TimeScope(__FUNCTION__, ProfileLocation + RTM)
+// llvm::TimeTraceScope TimeScope(RegionTypeMsg, ProfileLocation + RTM)
----------------
markdewing wrote:
minor: commented-out code
https://github.com/llvm/llvm-project/pull/68016
More information about the Mlir-commits
mailing list