Changeset 12066 in vbox for trunk/src/VBox
- Timestamp:
- Sep 3, 2008 3:50:32 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 35999
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r12020 r12066 3397 3397 if (SUCCEEDED (rc)) 3398 3398 { 3399 #ifdef VBOX_WITH_RESOURCE_USAGE_API 3400 registerMetrics (mParent->performanceCollector(), this, pid); 3401 #endif /* VBOX_WITH_RESOURCE_USAGE_API */ 3402 3399 3403 /* 3400 3404 * Set the session state to Spawning to protect against subsequent … … 7874 7878 } 7875 7879 7876 #ifdef VBOX_WITH_RESOURCE_USAGE_API7877 registerMetrics (mParent->performanceCollector(), aMachine, mData->mSession.mPid);7878 #endif /* VBOX_WITH_RESOURCE_USAGE_API */7879 7880 7880 /* Confirm a successful initialization when it's the case */ 7881 7881 autoInitSpan.setSucceeded(); -
trunk/src/VBox/Main/darwin/PerformanceDarwin.cpp
r11778 r12066 135 135 static int getProcessInfo(RTPROCESS process, struct proc_taskinfo *tinfo) 136 136 { 137 LogAleksey(("getProcessInfo() getting info for %d", process)); 137 138 int nb = proc_pidinfo(process, PROC_PIDTASKINFO, 0, tinfo, sizeof(*tinfo)); 138 139 if (nb <= 0)
Note:
See TracChangeset
for help on using the changeset viewer.