VirtualBox

Changeset 89754 in vbox


Ignore:
Timestamp:
Jun 16, 2021 10:56:49 PM (4 years ago)
Author:
vboxsync
Message:

DevIchAc97: Removed unused statistics. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r89753 r89754  
    578578#ifdef VBOX_WITH_STATISTICS
    579579    STAMPROFILE             StatTimer;
    580     STAMPROFILE             StatIn;
    581     STAMPROFILE             StatOut;
    582     STAMCOUNTER             StatBytesRead;
    583     STAMCOUNTER             StatBytesWritten;
    584580#endif
    585581} AC97STATE;
    586582AssertCompileMemberAlignment(AC97STATE, aStreams, 8);
    587583AssertCompileMemberAlignment(AC97STATE, StatUnimplementedNabmReads, 8);
    588 #ifdef VBOX_WITH_STATISTICS
    589 AssertCompileMemberAlignment(AC97STATE, StatTimer,        8);
    590 AssertCompileMemberAlignment(AC97STATE, StatBytesRead,    8);
    591 AssertCompileMemberAlignment(AC97STATE, StatBytesWritten, 8);
    592 #endif
    593584
    594585
     
    44884479# ifdef VBOX_WITH_STATISTICS
    44894480    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.");
    44944481# endif
    44954482    for (unsigned idxStream = 0; idxStream < RT_ELEMENTS(pThis->aStreams); idxStream++)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette