VirtualBox

Ignore:
Timestamp:
Sep 3, 2008 3:50:32 PM (16 years ago)
Author:
vboxsync
Message:

PerfAPI: fix for VM metrics missing for direct sessions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r12020 r12066  
    33973397    if (SUCCEEDED (rc))
    33983398    {
     3399#ifdef VBOX_WITH_RESOURCE_USAGE_API
     3400        registerMetrics (mParent->performanceCollector(), this, pid);
     3401#endif /* VBOX_WITH_RESOURCE_USAGE_API */
     3402
    33993403        /*
    34003404         *  Set the session state to Spawning to protect against subsequent
     
    78747878    }
    78757879
    7876 #ifdef VBOX_WITH_RESOURCE_USAGE_API
    7877     registerMetrics (mParent->performanceCollector(), aMachine, mData->mSession.mPid);
    7878 #endif /* VBOX_WITH_RESOURCE_USAGE_API */
    7879 
    78807880    /* Confirm a successful initialization when it's the case */
    78817881    autoInitSpan.setSucceeded();
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