[Mlir-commits] [mlir] [mlir] Enhance TimingManager Printing	Flexibility (PR #85821)
    Mehdi Amini 
    llvmlistbot at llvm.org
       
    Wed Mar 20 00:44:39 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:
Nit: wrap the class in an anonymous namespace
https://github.com/llvm/llvm-project/pull/85821
    
    
More information about the Mlir-commits
mailing list