VirtualBox

Changeset 98082 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Jan 15, 2023 1:59:48 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155214
Message:

Main/ConsoleImpl: Optimized the getDeviceActivity code a little by replacing two std::vector objects with fixed sized arrays of 8 elements each. To facilitate this DeviceType got a new final 'End' value added. Also missing validation of the aType values. Result is ~30% smaller code. bugref:9892

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r98044 r98082  
    13251325    <const name="Graphics3D"        value="7">
    13261326      <desc>Graphics device 3D activity.</desc>
     1327    </const>
     1328    <const name="End"               value="8">
     1329      <desc>End of valid device types (exclusive).  Used for invalid validation and such.</desc>
    13271330    </const>
    13281331  </enum>
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