[Mlir-commits] [mlir] [mlir] Enhance TimingManager Printing Flexibility (PR #85821)

Mehdi Amini llvmlistbot at llvm.org
Wed Mar 20 00:45:23 PDT 2024


================
@@ -125,40 +126,127 @@ struct TimeRecord {
     return *this;
   }
 
-  /// Print the current time record to 'os', with a breakdown showing
-  /// contributions to the give 'total' time record.
-  void print(raw_ostream &os, const TimeRecord &total) {
+  double wall, user;
+};
+
+class OutputStrategy {
----------------
joker-eph wrote:

Actually it's already in such a namespace, I hadn't extended the GitHub diff scope...

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


More information about the Mlir-commits mailing list