VirtualBox

Changeset 2945 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
May 30, 2007 5:36:51 PM (18 years ago)
Author:
vboxsync
Message:

Slight correction of release statistics: don't count the transfer of the
ATAPI command as a separate command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r2944 r2945  
    41284128                if (s->fATAPI)
    41294129                {
    4130                     if (s->fDMA)
    4131                         STAM_REL_COUNTER_INC(&s->StatATAPIDMA);
    4132                     else
    4133                         STAM_REL_COUNTER_INC(&s->StatATAPIPIO);
     4130                    if (pCtl->fChainedTransfer)
     4131                    {
     4132                        /* Only count the actual transfers, not the PIO
     4133                         * transfer of the ATAPI command bytes. */
     4134                        if (s->fDMA)
     4135                            STAM_REL_COUNTER_INC(&s->StatATAPIDMA);
     4136                        else
     4137                            STAM_REL_COUNTER_INC(&s->StatATAPIPIO);
     4138                    }
    41344139                }
    41354140                else
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