Changeset 89754 in vbox
- Timestamp:
- Jun 16, 2021 10:56:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r89753 r89754 578 578 #ifdef VBOX_WITH_STATISTICS 579 579 STAMPROFILE StatTimer; 580 STAMPROFILE StatIn;581 STAMPROFILE StatOut;582 STAMCOUNTER StatBytesRead;583 STAMCOUNTER StatBytesWritten;584 580 #endif 585 581 } AC97STATE; 586 582 AssertCompileMemberAlignment(AC97STATE, aStreams, 8); 587 583 AssertCompileMemberAlignment(AC97STATE, StatUnimplementedNabmReads, 8); 588 #ifdef VBOX_WITH_STATISTICS589 AssertCompileMemberAlignment(AC97STATE, StatTimer, 8);590 AssertCompileMemberAlignment(AC97STATE, StatBytesRead, 8);591 AssertCompileMemberAlignment(AC97STATE, StatBytesWritten, 8);592 #endif593 584 594 585 … … 4488 4479 # ifdef VBOX_WITH_STATISTICS 4489 4480 PDMDevHlpSTAMRegister(pDevIns, &pThis->StatTimer, STAMTYPE_PROFILE, "Timer", STAMUNIT_TICKS_PER_CALL, "Profiling ichac97Timer."); 4490 PDMDevHlpSTAMRegister(pDevIns, &pThis->StatIn, STAMTYPE_PROFILE, "Input", STAMUNIT_TICKS_PER_CALL, "Profiling input.");4491 PDMDevHlpSTAMRegister(pDevIns, &pThis->StatOut, STAMTYPE_PROFILE, "Output", STAMUNIT_TICKS_PER_CALL, "Profiling output.");4492 PDMDevHlpSTAMRegister(pDevIns, &pThis->StatBytesRead, STAMTYPE_COUNTER, "BytesRead" , STAMUNIT_BYTES, "Bytes read from AC97 emulation.");4493 PDMDevHlpSTAMRegister(pDevIns, &pThis->StatBytesWritten, STAMTYPE_COUNTER, "BytesWritten", STAMUNIT_BYTES, "Bytes written to AC97 emulation.");4494 4481 # endif 4495 4482 for (unsigned idxStream = 0; idxStream < RT_ELEMENTS(pThis->aStreams); idxStream++)
Note:
See TracChangeset
for help on using the changeset viewer.