]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common header file not applicable to open-vm-tools.
authorKaty Feng <fkaty@vmware.com>
Tue, 29 Nov 2022 20:11:42 +0000 (12:11 -0800)
committerKaty Feng <fkaty@vmware.com>
Tue, 29 Nov 2022 20:11:42 +0000 (12:11 -0800)
open-vm-tools/lib/include/log.h

index 21e9e7b7540834e82f370df5fa6a550d5a2052fa..2d3369a8a0cce380c84d21f7d4eac6c307458faf 100644 (file)
@@ -443,14 +443,20 @@ Log_SetOutputLevel(LogOutput *output,
                    int32 level);
 
 /*
- * Structure contains all the pointers to where value can be updated
+ * Structure contains all the pointers to where value can be updated.
  * Making VmxStats as a struct has its own advantage, such as updating
  * 'droppedChars' from the struct instead within LogFile.
  */
+
+struct VmxStatMinMax64;
+
 typedef struct {
-   uint64 *numTimesDrop; // total time char dropped
-   uint64 *droppedChars; // Number of drop char
-   uint64 *bytesLogged;  // Total logged
+   uint64          *logMsgsDropped;    // Number of dropped messages
+   uint64          *logBytesDropped;   // Number of drop bytes
+   uint64          *logBytesLogged;    // Bytes logged
+
+   struct VmxStatMinMax64 *logWriteMinMaxTime; // Min/max write time in US
+   uint64          *logWriteAvgTime;   // Average time to write in US
 } VmxStatsInfo;
 
 Bool
@@ -600,9 +606,6 @@ Log_SkipLocking(Bool skipLocking);
 void
 Log_DisableThrottling(void);
 
-void
-Log_DisableVmxStats(void);
-
 uint32
 Log_MaxLineLength(void);