Changeset 107317 in vbox for trunk/include/VBox/vmm/pdmusb.h
- Timestamp:
- Dec 13, 2024 1:21:33 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmusb.h
r107276 r107317 1436 1436 } 1437 1437 1438 /** 1439 * Same as pfnSTAMRegister except that the name is specified in a 1440 * RTStrPrintf like fashion. 1441 * 1442 * @param pDevIns Device instance of the DMA. 1443 * @param pvSample Pointer to the sample. 1444 * @param enmType Sample type. This indicates what pvSample is 1445 * pointing at. 1446 * @param enmVisibility Visibility type specifying whether unused 1447 * statistics should be visible or not. 1448 * @param enmUnit Sample unit. 1449 * @param pszDesc Sample description. 1450 * @param pszName Sample name format string, unix path style. If 1451 * this does not start with a '/', the default 1452 * prefix will be prepended, otherwise it will be 1453 * used as-is. 1454 * @param ... Arguments to the format string. 1455 */ 1456 DECLINLINE(void) RT_IPRT_FORMAT_ATTR(7, 8) PDMUsbHlpSTAMRegisterF(PPDMUSBINS pUsbIns, void *pvSample, STAMTYPE enmType, 1457 STAMVISIBILITY enmVisibility, STAMUNIT enmUnit, 1458 const char *pszDesc, const char *pszName, ...) 1459 { 1460 va_list va; 1461 va_start(va, pszName); 1462 pUsbIns->pHlpR3->pfnSTAMRegisterV(pUsbIns, pvSample, enmType, enmVisibility, enmUnit, pszDesc, pszName, va); 1463 va_end(va); 1464 } 1465 1438 1466 #endif /* IN_RING3 */ 1439 1467
Note:
See TracChangeset
for help on using the changeset viewer.