Changeset 106308 in vbox
- Timestamp:
- Oct 14, 2024 2:46:30 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/STAM.cpp
r106061 r106308 3170 3170 return VINF_SUCCESS; 3171 3171 3172 pArgs->pfnPrintf(pArgs, "%- 32s %8llu %s\n", pDesc->pszName, pDesc->u.pCounter->c, STAMR3GetUnit(pDesc->enmUnit));3172 pArgs->pfnPrintf(pArgs, "%-42s %9llu %s\n", pDesc->pszName, pDesc->u.pCounter->c, STAMR3GetUnit(pDesc->enmUnit)); 3173 3173 break; 3174 3174 … … 3180 3180 3181 3181 uint64_t const u64 = pDesc->u.pProfile->cPeriods ? pDesc->u.pProfile->cPeriods : 1; 3182 pArgs->pfnPrintf(pArgs, "%- 32s %8llu %s (%12llu %s, %7llu %s, max %9llu, min %7lld)\n", pDesc->pszName,3182 pArgs->pfnPrintf(pArgs, "%-42s %9llu %s (%12llu %s, %7llu %s, max %9llu, min %7lld)\n", pDesc->pszName, 3183 3183 pDesc->u.pProfile->cTicks / u64, STAMR3GetUnit(pDesc->enmUnit), 3184 3184 pDesc->u.pProfile->cTicks, STAMR3GetUnit1(pDesc->enmUnit), … … 3192 3192 if (pDesc->enmVisibility == STAMVISIBILITY_USED && !pDesc->u.pRatioU32->u32A && !pDesc->u.pRatioU32->u32B) 3193 3193 return VINF_SUCCESS; 3194 pArgs->pfnPrintf(pArgs, "%- 32s %8u:%-8u %s\n", pDesc->pszName,3194 pArgs->pfnPrintf(pArgs, "%-42s %9u:%-8u %s\n", pDesc->pszName, 3195 3195 pDesc->u.pRatioU32->u32A, pDesc->u.pRatioU32->u32B, STAMR3GetUnit(pDesc->enmUnit)); 3196 3196 break; … … 3200 3200 char szBuf[512]; 3201 3201 pDesc->u.Callback.pfnPrint(pArgs->pUVM->pVM, pDesc->u.Callback.pvSample, szBuf, sizeof(szBuf)); 3202 pArgs->pfnPrintf(pArgs, "%- 32s %s %s\n", pDesc->pszName, szBuf, STAMR3GetUnit(pDesc->enmUnit));3202 pArgs->pfnPrintf(pArgs, "%-42s %s %s\n", pDesc->pszName, szBuf, STAMR3GetUnit(pDesc->enmUnit)); 3203 3203 break; 3204 3204 } … … 3208 3208 if (pDesc->enmVisibility == STAMVISIBILITY_USED && *pDesc->u.pu8 == 0) 3209 3209 return VINF_SUCCESS; 3210 pArgs->pfnPrintf(pArgs, "%- 32s %8u %s\n", pDesc->pszName, *pDesc->u.pu8, STAMR3GetUnit(pDesc->enmUnit));3210 pArgs->pfnPrintf(pArgs, "%-42s %9u %s\n", pDesc->pszName, *pDesc->u.pu8, STAMR3GetUnit(pDesc->enmUnit)); 3211 3211 break; 3212 3212 … … 3215 3215 if (pDesc->enmVisibility == STAMVISIBILITY_USED && *pDesc->u.pu8 == 0) 3216 3216 return VINF_SUCCESS; 3217 pArgs->pfnPrintf(pArgs, "%- 32s %8x %s\n", pDesc->pszName, *pDesc->u.pu8, STAMR3GetUnit(pDesc->enmUnit));3217 pArgs->pfnPrintf(pArgs, "%-42s %9x %s\n", pDesc->pszName, *pDesc->u.pu8, STAMR3GetUnit(pDesc->enmUnit)); 3218 3218 break; 3219 3219 … … 3222 3222 if (pDesc->enmVisibility == STAMVISIBILITY_USED && *pDesc->u.pu16 == 0) 3223 3223 return VINF_SUCCESS; 3224 pArgs->pfnPrintf(pArgs, "%- 32s %8u %s\n", pDesc->pszName, *pDesc->u.pu16, STAMR3GetUnit(pDesc->enmUnit));3224 pArgs->pfnPrintf(pArgs, "%-42s %9u %s\n", pDesc->pszName, *pDesc->u.pu16, STAMR3GetUnit(pDesc->enmUnit)); 3225 3225 break; 3226 3226 … … 3229 3229 if (pDesc->enmVisibility == STAMVISIBILITY_USED && *pDesc->u.pu16 == 0) 3230 3230 return VINF_SUCCESS; 3231 pArgs->pfnPrintf(pArgs, "%- 32s %8x %s\n", pDesc->pszName, *pDesc->u.pu16, STAMR3GetUnit(pDesc->enmUnit));3231 pArgs->pfnPrintf(pArgs, "%-42s %9x %s\n", pDesc->pszName, *pDesc->u.pu16, STAMR3GetUnit(pDesc->enmUnit)); 3232 3232 break; 3233 3233 … … 3236 3236 if (pDesc->enmVisibility == STAMVISIBILITY_USED && *pDesc->u.pu32 == 0) 3237 3237 return VINF_SUCCESS; 3238 pArgs->pfnPrintf(pArgs, "%- 32s %8u %s\n", pDesc->pszName, *pDesc->u.pu32, STAMR3GetUnit(pDesc->enmUnit));3238 pArgs->pfnPrintf(pArgs, "%-42s %9u %s\n", pDesc->pszName, *pDesc->u.pu32, STAMR3GetUnit(pDesc->enmUnit)); 3239 3239 break; 3240 3240 … … 3243 3243 if (pDesc->enmVisibility == STAMVISIBILITY_USED && *pDesc->u.pu32 == 0) 3244 3244 return VINF_SUCCESS; 3245 pArgs->pfnPrintf(pArgs, "%- 32s %8x %s\n", pDesc->pszName, *pDesc->u.pu32, STAMR3GetUnit(pDesc->enmUnit));3245 pArgs->pfnPrintf(pArgs, "%-42s %9x %s\n", pDesc->pszName, *pDesc->u.pu32, STAMR3GetUnit(pDesc->enmUnit)); 3246 3246 break; 3247 3247 … … 3250 3250 if (pDesc->enmVisibility == STAMVISIBILITY_USED && *pDesc->u.pu64 == 0) 3251 3251 return VINF_SUCCESS; 3252 pArgs->pfnPrintf(pArgs, "%- 32s %8llu %s\n", pDesc->pszName, *pDesc->u.pu64, STAMR3GetUnit(pDesc->enmUnit));3252 pArgs->pfnPrintf(pArgs, "%-42s %9llu %s\n", pDesc->pszName, *pDesc->u.pu64, STAMR3GetUnit(pDesc->enmUnit)); 3253 3253 break; 3254 3254 … … 3257 3257 if (pDesc->enmVisibility == STAMVISIBILITY_USED && *pDesc->u.pu64 == 0) 3258 3258 return VINF_SUCCESS; 3259 pArgs->pfnPrintf(pArgs, "%- 32s %8llx %s\n", pDesc->pszName, *pDesc->u.pu64, STAMR3GetUnit(pDesc->enmUnit));3259 pArgs->pfnPrintf(pArgs, "%-42s %9llx %s\n", pDesc->pszName, *pDesc->u.pu64, STAMR3GetUnit(pDesc->enmUnit)); 3260 3260 break; 3261 3261 … … 3264 3264 if (pDesc->enmVisibility == STAMVISIBILITY_USED && *pDesc->u.pf == false) 3265 3265 return VINF_SUCCESS; 3266 pArgs->pfnPrintf(pArgs, "%- 32s %s %s\n", pDesc->pszName, *pDesc->u.pf ? "true " : "false ", STAMR3GetUnit(pDesc->enmUnit));3266 pArgs->pfnPrintf(pArgs, "%-42s %s %s\n", pDesc->pszName, *pDesc->u.pf ? "true " : "false ", STAMR3GetUnit(pDesc->enmUnit)); 3267 3267 break; 3268 3268 … … 3276 3276 if (pDesc->enmVisibility == STAMVISIBILITY_USED && pSum->u.Counter.c == 0) 3277 3277 return VINF_SUCCESS; 3278 pArgs->pfnPrintf(pArgs, "%- 32s %8llu %s\n", pDesc->pszName, pSum->u.Counter.c, STAMR3GetUnit(pDesc->enmUnit));3278 pArgs->pfnPrintf(pArgs, "%-42s %9llu %s\n", pDesc->pszName, pSum->u.Counter.c, STAMR3GetUnit(pDesc->enmUnit)); 3279 3279 break; 3280 3280 … … 3285 3285 3286 3286 uint64_t const u64 = pSum->u.Profile.cPeriods ? pSum->u.Profile.cPeriods : 1; 3287 pArgs->pfnPrintf(pArgs, "%- 32s %8llu %s (%12llu %s, %7llu %s, max %9llu, min %7lld)\n", pDesc->pszName,3287 pArgs->pfnPrintf(pArgs, "%-42s %9llu %s (%12llu %s, %7llu %s, max %9llu, min %7lld)\n", pDesc->pszName, 3288 3288 pSum->u.Profile.cTicks / u64, STAMR3GetUnit(pDesc->enmUnit), 3289 3289 pSum->u.Profile.cTicks, STAMR3GetUnit1(pDesc->enmUnit), … … 3306 3306 if (pDesc->enmVisibility == STAMVISIBILITY_USED && pSum->u.Counter.c == 0) 3307 3307 return VINF_SUCCESS; 3308 pArgs->pfnPrintf(pArgs, "%- 32s %8llu %s\n", pDesc->pszName, pSum->u.Counter.c, STAMR3GetUnit(pDesc->enmUnit));3308 pArgs->pfnPrintf(pArgs, "%-42s %9llu %s\n", pDesc->pszName, pSum->u.Counter.c, STAMR3GetUnit(pDesc->enmUnit)); 3309 3309 break; 3310 3310 }
Note:
See TracChangeset
for help on using the changeset viewer.