[Mlir-commits] [mlir] [mlir][target][nvvm] Perf by stage and store into properties (PR #126178)

Zichen Lu llvmlistbot at llvm.org
Sun Feb 9 22:56:57 PST 2025


================
@@ -618,6 +644,8 @@ NVPTXSerializer::compileToBinaryNVPTX(const std::string &ptxCode) {
 
 std::optional<SmallVector<char, 0>>
 NVPTXSerializer::moduleToObject(llvm::Module &llvmModule) {
+  std::chrono::high_resolution_clock::time_point llvmPoint =
----------------
MikaOvO wrote:

I will get this log after using `llvm::Timer`, how can I avoid this:
```
===-------------------------------------------------------------------------===
                         Miscellaneous Ungrouped Timers
===-------------------------------------------------------------------------===

   ---User Time---   --System Time--   --User+System--   ---Wall Time---  --- Name ---
   0.1630 (100.0%)   0.0043 (100.0%)   0.1673 (100.0%)   0.3216 (100.0%)  Timer for perf llvm-ir -> isa and isa -> binary.
   0.1630 (100.0%)   0.0043 (100.0%)   0.1673 (100.0%)   0.3216 (100.0%)  Total
```

https://github.com/llvm/llvm-project/pull/126178


More information about the Mlir-commits mailing list