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 */
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;
/*