VirtualBox

Ignore:
Timestamp:
Dec 16, 2011 1:00:31 AM (13 years ago)
Author:
vboxsync
Message:

Correct RTREQPOOLSTAT_NS_AVERAGE_REQ_QUEUED and RTREQPOOLSTAT_NS_TOTAL_REQ_QUEUED.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/reqpool.cpp

    r39639 r39640  
    319319    uint64_t const uNsTsEnd = RTTimeNanoTS();
    320320    pThread->cNsTotalReqProcessing += uNsTsEnd - pThread->uProcessingNanoTs;
    321     pThread->cNsTotalReqQueued     += uNsTsEnd - pThread->uPendingNanoTs;
     321    pThread->cNsTotalReqQueued     += pThread->uProcessingNanoTs - pThread->uPendingNanoTs;
    322322    pThread->cReqProcessed++;
    323323}
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