VirtualBox

Changeset 23472 in vbox for trunk/src


Ignore:
Timestamp:
Oct 1, 2009 11:48:02 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53086
Message:

SCSI: Hardcode the instance number to the statistics path

File:
1 edited

Legend:

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

    r23356 r23472  
    852852
    853853    /* Register statistics counter. */
     854    /** @odo r=aeichner: Find a way to put the instance number of the attached controller device
     855     * when we support more than one controller of the same type. At the moment we have the
     856     * 0 hardcoded. */
    854857    PDMDrvHlpSTAMRegisterF(pDrvIns, &pThis->StatBytesRead, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_BYTES,
    855                             "Amount of data read.", "/Devices/SCSI/%d/ReadBytes", pDrvIns->iInstance);
     858                            "Amount of data read.", "/Devices/SCSI0/%d/ReadBytes", pDrvIns->iInstance);
    856859    PDMDrvHlpSTAMRegisterF(pDrvIns, &pThis->StatBytesWritten, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_BYTES,
    857                             "Amount of data written.", "/Devices/SCSI/%d/WrittenBytes", pDrvIns->iInstance);
     860                            "Amount of data written.", "/Devices/SCSI0/%d/WrittenBytes", pDrvIns->iInstance);
    858861
    859862    /* Create I/O thread. */
Note: See TracChangeset for help on using the changeset viewer.

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