VirtualBox

Changeset 43453 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Sep 27, 2012 12:37:46 PM (12 years ago)
Author:
vboxsync
Message:

Main/Metrics: Fixed the issue causing unregistration of all metrics instead of ones related to single interface (#6345)

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/Performance.h

    r43445 r43453  
    724724        Filter(ComSafeArrayIn(IN_BSTR, metricNames),
    725725               ComSafeArrayIn(IUnknown * , objects));
     726        Filter(const com::Utf8Str name, const ComPtr<IUnknown> &aObject);
    726727        static bool patternMatch(const char *pszPat, const char *pszName,
    727728                                 bool fSeenColon = false);
  • trunk/src/VBox/Main/include/PerformanceImpl.h

    r40358 r43453  
    174174    void registerBaseMetric (pm::BaseMetric *baseMetric);
    175175    void registerMetric (pm::Metric *metric);
    176     void unregisterBaseMetricsFor (const ComPtr<IUnknown> &object);
    177     void unregisterMetricsFor (const ComPtr<IUnknown> &object);
     176    void unregisterBaseMetricsFor (const ComPtr<IUnknown> &object, const Utf8Str name = "*");
     177    void unregisterMetricsFor (const ComPtr<IUnknown> &object, const Utf8Str name = "*");
    178178    void registerGuest(pm::CollectorGuest* pGuest);
    179179    void unregisterGuest(pm::CollectorGuest* pGuest);
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