Changeset 7107 in vbox
- Timestamp:
- Feb 25, 2008 1:34:33 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28354
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r7072 r7107 1358 1358 #ifdef VBOX_INSTRUMENT_DMA_WRITES 1359 1359 if (s->fDMA) 1360 STAM_PROFILE_ADV_START(&s->StatInstrVDWrites, vw); ;1360 STAM_PROFILE_ADV_START(&s->StatInstrVDWrites, vw); 1361 1361 #endif 1362 1362 rc = s->pDrvBlock->pfnWrite(s->pDrvBlock, u64Sector * 512, pvBuf, cSectors * 512); 1363 1363 #ifdef VBOX_INSTRUMENT_DMA_WRITES 1364 1364 if (s->fDMA) 1365 STAM_PROFILE_ADV_STOP(&s->StatInstrVDWrites, vw); ;1365 STAM_PROFILE_ADV_STOP(&s->StatInstrVDWrites, vw); 1366 1366 #endif 1367 1367 s->Led.Actual.s.fWriting = 0; … … 6019 6019 PDMDevHlpSTAMRegisterF(pDevIns, &pIf->StatBytesRead, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_BYTES, "Amount of data read.", "/Devices/ATA%d/Unit%d/ReadBytes", i, j); 6020 6020 #ifdef VBOX_INSTRUMENT_DMA_WRITES 6021 PDMDevHlpSTAMRegisterF(pDevIns, &pIf->StatInstrVDWrites, 6021 PDMDevHlpSTAMRegisterF(pDevIns, &pIf->StatInstrVDWrites,STAMTYPE_PROFILE_ADV, STAMVISIBILITY_ALWAYS, STAMUNIT_TICKS_PER_CALL, "Profiling of the VD DMA write operations.","/Devices/ATA%d/Unit%d/InstrVDWrites", i, j); 6022 6022 #endif 6023 6023 #ifdef VBOX_WITH_STATISTICS
Note:
See TracChangeset
for help on using the changeset viewer.