VirtualBox

Changeset 88836 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 3, 2021 1:27:41 PM (4 years ago)
Author:
vboxsync
Message:

DevRTC: Since we expose the stats in release builds, we might as well increment them too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevRTC.cpp

    r87937 r88836  
    291291        PDMDevHlpISASetIrq(pDevIns, pThis->irq, iLevel);
    292292        if (iLevel)
    293             STAM_COUNTER_INC(&pThis->StatRTCIrq);
     293            STAM_REL_COUNTER_INC(&pThis->StatRTCIrq);
    294294    }
    295295}
     
    598598
    599599    rtc_timer_update(pDevIns, pThis, pThis->next_periodic_time);
    600     STAM_COUNTER_INC(&pThis->StatRTCTimerCB);
     600    STAM_REL_COUNTER_INC(&pThis->StatRTCTimerCB);
    601601    pThis->cmos_data[RTC_REG_C] |= 0xc0;
    602602
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