[llvm] c498780 - [NFC][Support] Add unit of measure to comment for PeakMemory

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 12:42:41 PDT 2020


Author: Hubert Tong
Date: 2020-06-25T15:41:33-04:00
New Revision: c498780526ebc07f6ba589067a65ce86a4eb2207

URL: https://github.com/llvm/llvm-project/commit/c498780526ebc07f6ba589067a65ce86a4eb2207
DIFF: https://github.com/llvm/llvm-project/commit/c498780526ebc07f6ba589067a65ce86a4eb2207.diff

LOG: [NFC][Support] Add unit of measure to comment for PeakMemory

Added: 
    

Modified: 
    llvm/include/llvm/Support/Program.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/Program.h b/llvm/include/llvm/Support/Program.h
index ce0b6db5705f..dbda064cda05 100644
--- a/llvm/include/llvm/Support/Program.h
+++ b/llvm/include/llvm/Support/Program.h
@@ -57,7 +57,7 @@ namespace sys {
   struct ProcessStatistics {
     std::chrono::microseconds TotalTime;
     std::chrono::microseconds UserTime;
-    uint64_t PeakMemory = 0;
+    uint64_t PeakMemory = 0; ///< Maximum resident set size in KiB.
   };
 
   /// Find the first executable file \p Name in \p Paths.


        


More information about the llvm-commits mailing list