Changeset 91704 in vbox
- Timestamp:
- Oct 13, 2021 3:41:55 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp
r91703 r91704 675 675 pVirtqBuf->u32Magic = ~VIRTQBUF_MAGIC; 676 676 RTMemFree(pVirtqBuf); 677 #ifdef VBOX_WITH_STATISTICS 677 678 STAM_REL_COUNTER_INC(&pVirtio->StatDescChainsFreed); 679 #endif 678 680 } 679 681 return cRefs; … … 851 853 pVirtqBuf->pSgPhysReturn = &pVirtqBuf->SgBufIn; 852 854 pVirtqBuf->cbPhysReturn = cbIn; 855 #ifdef VBOX_WITH_STATISTICS 853 856 STAM_REL_COUNTER_ADD(&pVirtio->StatDescChainsSegsIn, cSegsIn); 857 #endif 854 858 } 855 859 … … 859 863 pVirtqBuf->pSgPhysSend = &pVirtqBuf->SgBufOut; 860 864 pVirtqBuf->cbPhysSend = cbOut; 865 #ifdef VBOX_WITH_STATISTICS 861 866 STAM_REL_COUNTER_ADD(&pVirtio->StatDescChainsSegsOut, cSegsOut); 862 } 863 867 #endif 868 } 869 870 #ifdef VBOX_WITH_STATISTICS 864 871 STAM_REL_COUNTER_INC(&pVirtio->StatDescChainsAllocated); 872 #endif 865 873 Log6Func(("%s -- segs OUT: %u (%u bytes) IN: %u (%u bytes) --\n", 866 874 pVirtq->szName, cSegsOut, cbOut, cSegsIn, cbIn));
Note:
See TracChangeset
for help on using the changeset viewer.