]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
hanges in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Fri, 12 Apr 2013 19:52:01 +0000 (12:52 -0700)
committerDmitry Torokhov <dtor@vmware.com>
Wed, 17 Apr 2013 19:16:55 +0000 (12:16 -0700)
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/modules/shared/vmxnet/vmxnet2_def.h

index 23b36e2ee8788f5a3498b3481c80e1e87fe896e5..4dd8a3c958183a6181f6454cc577af50ee4b82a7 100644 (file)
@@ -208,22 +208,6 @@ typedef struct Vmxnet2_ImplData {
    struct PhysMem_TokenList  *ddPhysMemTokenList;
 } Vmxnet2_ImplData;
 
-/* 
- * Used internally for performance studies. By default this will be off so there 
- * should be no compatibilty or other interferences.
- */
-
-/* #define ENABLE_VMXNET2_PROFILING    */
-
-
-#ifdef ENABLE_VMXNET2_PROFILING
-typedef struct Vmxnet2_VmmStats {
-   uint64      vIntTSC;             /* the time that virtual int was posted */
-   uint64      actionsCount;        /* Number of actions received */
-   uint64      numWasteActions;     /* Number of non-productive actions */
-}  Vmxnet2_VmmStats;
-#endif
-
 typedef struct Vmxnet2_DriverStats {
    uint32      transmits;         /* # of times that the drivers transmit function */
                                   /*   is called. The driver could transmit more */
@@ -245,10 +229,6 @@ typedef struct Vmxnet2_DriverStats {
    uint32      interrupts;        /* # of times interrupted. */
    uint32      pktsReceived;      /* # of packets received. */
    uint32      rxBuffersLow;      /* # of times that the driver was low on */
-                                  /*   receive buffers. */
-#ifdef ENABLE_VMXNET2_PROFILING
-    Vmxnet2_VmmStats  vmmStats;     /* vmm related stats for perf study */
-#endif
 } Vmxnet2_DriverStats;
 
 /*