Changeset 77418 in vbox for trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp
- Timestamp:
- Feb 21, 2019 11:51:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp
r77088 r77418 2353 2353 { 2354 2354 size_t cbBuf = _2M; 2355 uint8_t *pbBuf = (uint8_t *)RTMemPageAlloc( _2M);2355 uint8_t *pbBuf = (uint8_t *)RTMemPageAlloc(cbBuf); 2356 2356 if (!pbBuf) 2357 2357 { 2358 2358 cbBuf = _4K; 2359 pbBuf = (uint8_t *)RTMemPageAlloc( _2M);2359 pbBuf = (uint8_t *)RTMemPageAlloc(cbBuf); 2360 2360 } 2361 2361 if (pbBuf) … … 2372 2372 if (*(size_t volatile *)&pbBuf[offFlush + 8] != cbFlush) 2373 2373 { 2374 RTTestIFailed("Flush issue at offset #%zx: %#zx, expected %#zx (cbFlush=%#zx)", 2375 offBuf, *(size_t volatile *)&pbBuf[offFlush + 8], cbFlush, cbFlush); 2374 RTTestIFailed("Flush issue at offset #%zx: %#zx, expected %#zx (cbFlush=%#zx, %#RX64)", 2375 offBuf + offFlush + 8, *(size_t volatile *)&pbBuf[offFlush + 8], 2376 cbFlush, cbFlush, *(uint64_t volatile *)&pbBuf[offFlush]); 2376 2377 if (++cErrors > 32) 2377 2378 break;
Note:
See TracChangeset
for help on using the changeset viewer.