VirtualBox

Changeset 43530 in vbox


Ignore:
Timestamp:
Oct 4, 2012 6:32:20 AM (12 years ago)
Author:
vboxsync
Message:

AsyncCompletion: STAT_* => STAT_REL_*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletion.cpp

    r43529 r43530  
    917917{
    918918    if (cbReq < 512)
    919         STAM_COUNTER_INC(&pEndpoint->StatReqSizeSmaller512);
     919        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSizeSmaller512);
    920920    else if (cbReq < _1K)
    921         STAM_COUNTER_INC(&pEndpoint->StatReqSize512To1K);
     921        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize512To1K);
    922922    else if (cbReq < _2K)
    923         STAM_COUNTER_INC(&pEndpoint->StatReqSize1KTo2K);
     923        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize1KTo2K);
    924924    else if (cbReq < _4K)
    925         STAM_COUNTER_INC(&pEndpoint->StatReqSize2KTo4K);
     925        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize2KTo4K);
    926926    else if (cbReq < _8K)
    927         STAM_COUNTER_INC(&pEndpoint->StatReqSize4KTo8K);
     927        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize4KTo8K);
    928928    else if (cbReq < _16K)
    929         STAM_COUNTER_INC(&pEndpoint->StatReqSize8KTo16K);
     929        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize8KTo16K);
    930930    else if (cbReq < _32K)
    931         STAM_COUNTER_INC(&pEndpoint->StatReqSize16KTo32K);
     931        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize16KTo32K);
    932932    else if (cbReq < _64K)
    933         STAM_COUNTER_INC(&pEndpoint->StatReqSize32KTo64K);
     933        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize32KTo64K);
    934934    else if (cbReq < _128K)
    935         STAM_COUNTER_INC(&pEndpoint->StatReqSize64KTo128K);
     935        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize64KTo128K);
    936936    else if (cbReq < _256K)
    937         STAM_COUNTER_INC(&pEndpoint->StatReqSize128KTo256K);
     937        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize128KTo256K);
    938938    else if (cbReq < _512K)
    939         STAM_COUNTER_INC(&pEndpoint->StatReqSize256KTo512K);
     939        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSize256KTo512K);
    940940    else
    941         STAM_COUNTER_INC(&pEndpoint->StatReqSizeOver512K);
     941        STAM_REL_COUNTER_INC(&pEndpoint->StatReqSizeOver512K);
    942942
    943943    if (cbReq & ((size_t)512 - 1))
    944         STAM_COUNTER_INC(&pEndpoint->StatReqsUnaligned512);
     944        STAM_REL_COUNTER_INC(&pEndpoint->StatReqsUnaligned512);
    945945    else if (cbReq & ((size_t)_4K - 1))
    946         STAM_COUNTER_INC(&pEndpoint->StatReqsUnaligned4K);
     946        STAM_REL_COUNTER_INC(&pEndpoint->StatReqsUnaligned4K);
    947947}
    948948
     
    967967    else
    968968        pStatCounter = &pEndpoint->StatTaskRunOver100Sec;
    969     STAM_COUNTER_INC(pStatCounter);
    970 
    971     STAM_COUNTER_INC(&pEndpoint->StatIoOpsCompleted);
     969    STAM_REL_COUNTER_INC(pStatCounter);
     970
     971    STAM_REL_COUNTER_INC(&pEndpoint->StatIoOpsCompleted);
    972972    pEndpoint->cIoOpsCompleted++;
    973973    uint64_t tsMsCur = RTTimeMilliTS();
     
    13691369        pTask->pNext     = NULL;
    13701370        pTask->tsNsStart = RTTimeNanoTS();
    1371         STAM_COUNTER_INC(&pEndpoint->StatIoOpsStarted);
     1371        STAM_REL_COUNTER_INC(&pEndpoint->StatIoOpsStarted);
    13721372    }
    13731373
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