================
@@ -1024,6 +1042,16 @@ int clang_scan_deps_main(int argc, char **argv, const 
llvm::ToolContext &) {
     Pool.wait();
   }
 
+  if (Verbose) {
+    llvm::errs() << "\n*** Virtual File System Stats:\n"
+                 << NumStatusCalls << " status() calls\n"
+                 << NumOpenFileForReadCalls << " openFileForRead() calls\n"
+                 << NumDirBeginCalls << " dir_begin() calls\n"
+                 << NumGetRealPathCalls << " getRealPath() calls\n"
+                 << NumExistsCalls << " exists() calls\n"
+                 << NumIsLocalCalls << " isLocal() calls\n";
+  }
+
----------------
cachemeifyoucan wrote:

Print after the `stopTimer()`?

https://github.com/llvm/llvm-project/pull/108056
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to