Changeset 56994 in vbox
- Timestamp:
- Jul 18, 2015 11:15:01 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 101709
- Location:
- trunk/src/VBox/Main
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/VirtualBoxBase.cpp
r55988 r56994 182 182 pcszComponent, 183 183 aText.c_str(), 184 aWarning,185 184 preserve, 186 185 aResultDetail)); -
trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp
r56648 r56994 184 184 } 185 185 186 LogFlowFunc(("cSamplesCaptured=%RU32, cProcessed=%RU32\n", 187 pVRDEStrmIn->cSamplesCaptured, cProcessed, rc)); 186 LogFlowFunc(("cSamplesCaptured=%RU32, cProcessed=%RU32 rc=%Rrc\n", pVRDEStrmIn->cSamplesCaptured, cProcessed, rc)); 188 187 return rc; 189 188 } -
trunk/src/VBox/Main/src-client/Nvram.cpp
r51612 r56994 315 315 DECLCALLBACK(void *) Nvram::drvNvram_QueryInterface(PPDMIBASE pInterface, const char *pszIID) 316 316 { 317 LogFlow (("%s pInterface:%p, pszIID:%s\n", __FUNCTION__, pInterface, pszIID));317 LogFlowFunc(("pInterface=%p pszIID=%s\n", pInterface, pszIID)); 318 318 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface); 319 319 PNVRAM pThis = PDMINS_2_DATA(pDrvIns, PNVRAM); … … 331 331 { 332 332 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns); 333 LogFlow (("%s: iInstance/#d\n", __FUNCTION__, pDrvIns->iInstance));333 LogFlowFunc(("iInstance/#%d\n", pDrvIns->iInstance)); 334 334 PNVRAM pThis = PDMINS_2_DATA(pDrvIns, PNVRAM); 335 335 if (pThis->pNvram != NULL) … … 344 344 { 345 345 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 346 LogFlowFunc(("iInstance/# d, pCfg:%p, fFlags:%x\n", pDrvIns->iInstance, pCfg, fFlags));346 LogFlowFunc(("iInstance/#%d pCfg=%p fFlags=%x\n", pDrvIns->iInstance, pCfg, fFlags)); 347 347 PNVRAM pThis = PDMINS_2_DATA(pDrvIns, PNVRAM); 348 348 -
trunk/src/VBox/Main/src-client/UsbCardReader.cpp
r54944 r56994 607 607 PRTREQ pReq; 608 608 int rc = RTReqQueueCall(pThis->hReqQCardReaderCmd, &pReq, 10000, (PFNRT)drvCardReaderWakeupFunc, 1, pThis); 609 AssertMsgRC(rc, ("Inserting request into queue failed rc=%Rrc\n" ));609 AssertMsgRC(rc, ("Inserting request into queue failed rc=%Rrc\n", rc)); 610 610 611 611 if (RT_SUCCESS(rc)) -
trunk/src/VBox/Main/src-client/VideoRec.cpp
r52901 r56994 505 505 if (rcv != VPX_CODEC_OK) 506 506 { 507 LogFlow(("Failed to configure codec \n", vpx_codec_err_to_string(rcv)));507 LogFlow(("Failed to configure codec: %s\n", vpx_codec_err_to_string(rcv))); 508 508 return VERR_INVALID_PARAMETER; 509 509 } -
trunk/src/VBox/Main/src-helper-apps/VBoxExtPackHelperApp.cpp
r56247 r56994 1420 1420 int rc = RTGetOptArgvToString(&pszCmdLine, &papszArgs[cSuArgs], RTGETOPTARGV_CNV_QUOTE_BOURNE_SH); 1421 1421 if (RT_FAILURE(rc)) 1422 return RTMsgErrorExit(RTEXITCODE_FAILURE, "RTGetOptArgvToString failed: %Rrc" );1422 return RTMsgErrorExit(RTEXITCODE_FAILURE, "RTGetOptArgvToString failed: %Rrc", rc); 1423 1423 1424 1424 /* -
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r56820 r56994 4657 4657 HRESULT rc = S_OK; 4658 4658 4659 LogFlowThisFunc(("aName=\"%s\" aControllerPort=%d aDevice=%d aType=%d aMedium=%p\n",4659 LogFlowThisFunc(("aName=\"%s\" aControllerPort=%d aDevice=%d aType=%d\n", 4660 4660 aName.c_str(), aControllerPort, aDevice, aType)); 4661 4661 -
trunk/src/VBox/Main/src-server/Performance.cpp
r56587 r56994 402 402 "CGMgr"); 403 403 NOREF(rc); 404 Log7(("{%p} " LOG_FN_FMT ": RTThreadCreate returned % u (mThread=%p)\n", this, __PRETTY_FUNCTION__, rc));404 Log7(("{%p} " LOG_FN_FMT ": RTThreadCreate returned %Rrc (mThread=%p)\n", this, __PRETTY_FUNCTION__, rc, mThread)); 405 405 } 406 406 … … 820 820 } 821 821 else 822 LogFlowThisFunc(("Failed to collect data: %Rrc (%d) .\n", rc));822 LogFlowThisFunc(("Failed to collect data: %Rrc (%d)\n", rc, rc)); 823 823 } 824 824 -
trunk/src/VBox/Main/src-server/generic/NetIf-generic.cpp
r50899 r56994 75 75 } 76 76 else 77 LogRel(("NetIfAdpCtl: failed to create process for %.\n", 78 szAdpCtl)); 77 LogRel(("NetIfAdpCtl: failed to create process for %s: %Rrc\n", szAdpCtl, rc)); 79 78 return rc; 80 79 } -
trunk/src/VBox/Main/testcase/tstCollector.cpp
r51965 r56994 51 51 52 52 #define N_CALLS(n, fn) \ 53 do {\ 53 54 for (int call = 0; call < n; ++call) \ 54 55 rc = collector->fn; \ 55 56 if (RT_FAILURE(rc)) \ 56 RTPrintf("tstCollector: "#fn" -> %Rrc\n", rc) 57 58 #define CALLS_PER_SECOND(fn) \ 57 RTPrintf("tstCollector: "#fn" -> %Rrc\n", rc); \ 58 } while (0) 59 60 #define CALLS_PER_SECOND(fn, args) \ 61 do { \ 59 62 nCalls = 0; \ 60 63 start = RTTimeMilliTS(); \ 61 64 do { \ 62 rc = collector->fn ; \65 rc = collector->fn args; \ 63 66 if (RT_FAILURE(rc)) \ 64 67 break; \ … … 66 69 } while (RTTimeMilliTS() - start < RUN_TIME_MS); \ 67 70 if (RT_FAILURE(rc)) \ 68 { \69 71 RTPrintf("tstCollector: "#fn" -> %Rrc\n", rc); \ 70 } \71 72 else \ 72 RTPrintf("%70s -- %u calls per second\n", #fn, nCalls) 73 RTPrintf("%70s -- %u calls per second\n", #fn, nCalls); \ 74 } while (0) 73 75 74 76 void measurePerformance(pm::CollectorHAL *collector, const char *pszName, int cVMs) … … 106 108 unsigned int nCalls; 107 109 /* Pre-collect */ 108 CALLS_PER_SECOND(preCollect (hints, 0));110 CALLS_PER_SECOND(preCollect, (hints, 0)); 109 111 /* Host CPU load */ 110 CALLS_PER_SECOND(getRawHostCpuLoad (&tmp64, &tmp64, &tmp64));112 CALLS_PER_SECOND(getRawHostCpuLoad, (&tmp64, &tmp64, &tmp64)); 111 113 /* Process CPU load */ 112 CALLS_PER_SECOND(getRawProcessCpuLoad (processes[nCalls%cVMs], &tmp64, &tmp64, &tmp64));114 CALLS_PER_SECOND(getRawProcessCpuLoad, (processes[nCalls % cVMs], &tmp64, &tmp64, &tmp64)); 113 115 /* Host CPU speed */ 114 CALLS_PER_SECOND(getHostCpuMHz (&tmp));116 CALLS_PER_SECOND(getHostCpuMHz, (&tmp)); 115 117 /* Host RAM usage */ 116 CALLS_PER_SECOND(getHostMemoryUsage (&tmp, &tmp, &tmp));118 CALLS_PER_SECOND(getHostMemoryUsage, (&tmp, &tmp, &tmp)); 117 119 /* Process RAM usage */ 118 CALLS_PER_SECOND(getProcessMemoryUsage (processes[nCalls%cVMs], &tmp));120 CALLS_PER_SECOND(getProcessMemoryUsage, (processes[nCalls % cVMs], &tmp)); 119 121 120 122 start = RTTimeNanoTS();
Note:
See TracChangeset
for help on using the changeset viewer.