VirtualBox

Changeset 81692 in vbox for trunk/src/VBox/Devices/USB


Ignore:
Timestamp:
Nov 6, 2019 1:00:13 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134452
Message:

Devices/USB/Dev*: Use default statistics prefix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/DevOHCI.cpp

    r81591 r81692  
    61546154    ohciR3DoReset(pDevIns, pThis, pThisCC, OHCI_USB_RESET, false /* don't reset devices */);
    61556155
    6156 #ifdef VBOX_WITH_STATISTICS
     6156# ifdef VBOX_WITH_STATISTICS
    61576157    /*
    61586158     * Register statistics.
    61596159     */
    6160     PDMDevHlpSTAMRegister(pDevIns, &pThis->StatCanceledIsocUrbs, STAMTYPE_COUNTER, "/Devices/OHCI/CanceledIsocUrbs", STAMUNIT_OCCURENCES,    "Detected canceled isochronous URBs.");
    6161     PDMDevHlpSTAMRegister(pDevIns, &pThis->StatCanceledGenUrbs,  STAMTYPE_COUNTER, "/Devices/OHCI/CanceledGenUrbs",  STAMUNIT_OCCURENCES,    "Detected canceled general URBs.");
    6162     PDMDevHlpSTAMRegister(pDevIns, &pThis->StatDroppedUrbs,      STAMTYPE_COUNTER, "/Devices/OHCI/DroppedUrbs",      STAMUNIT_OCCURENCES,    "Dropped URBs (endpoint halted, or URB canceled).");
    6163 #endif
     6160    PDMDevHlpSTAMRegister(pDevIns, &pThis->StatCanceledIsocUrbs, STAMTYPE_COUNTER, "CanceledIsocUrbs", STAMUNIT_OCCURENCES, "Detected canceled isochronous URBs.");
     6161    PDMDevHlpSTAMRegister(pDevIns, &pThis->StatCanceledGenUrbs,  STAMTYPE_COUNTER, "CanceledGenUrbs",  STAMUNIT_OCCURENCES, "Detected canceled general URBs.");
     6162    PDMDevHlpSTAMRegister(pDevIns, &pThis->StatDroppedUrbs,      STAMTYPE_COUNTER, "DroppedUrbs",      STAMUNIT_OCCURENCES, "Dropped URBs (endpoint halted, or URB canceled).");
     6163# endif
    61646164
    61656165    /*
     
    61686168    PDMDevHlpDBGFInfoRegister(pDevIns, "ohci", "OHCI control registers.", ohciR3InfoRegs);
    61696169
    6170 #if 0/*def DEBUG_bird*/
     6170# if 0/*def DEBUG_bird*/
    61716171//  g_fLogInterruptEPs = true;
    61726172    g_fLogControlEPs = true;
    61736173    g_fLogBulkEPs = true;
    6174 #endif
     6174# endif
    61756175
    61766176    return VINF_SUCCESS;
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