Changeset 64110 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Sep 30, 2016 1:46:23 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CFGM.cpp
r64103 r64110 3244 3244 && !RTStrNCmp(pLeaf->szName, "cb", 2)) ) 3245 3245 { 3246 if (pLeaf->Value.Integer.u64 > _2M) 3247 pHlp->pfnPrintf(pHlp, ", %'lld MB", pLeaf->Value.Integer.u64 / _1M); 3248 else if (pLeaf->Value.Integer.u64 > _2K) 3249 pHlp->pfnPrintf(pHlp, ", %'lld KB", pLeaf->Value.Integer.u64 / _1K); 3246 3250 if (pLeaf->Value.Integer.u64 > _2G) 3247 3251 pHlp->pfnPrintf(pHlp, ", %'lld.%lld GB", 3248 3252 pLeaf->Value.Integer.u64 / _1G, 3249 3253 (pLeaf->Value.Integer.u64 % _1G) / (_1G / 10)); 3250 else if (pLeaf->Value.Integer.u64 > _2M)3251 pHlp->pfnPrintf(pHlp, ", %'lld MB", pLeaf->Value.Integer.u64 / _1M);3252 else if (pLeaf->Value.Integer.u64 > _2K)3253 pHlp->pfnPrintf(pHlp, ", %'lld KB", pLeaf->Value.Integer.u64 / _1K);3254 3254 } 3255 3255 pHlp->pfnPrintf(pHlp, ")\n");
Note:
See TracChangeset
for help on using the changeset viewer.