7#include "dtkdevice_global.h"
11DDEVICE_BEGIN_NAMESPACE
13class DDiskDevicePrivate;
18 quint64 readsCompletedSuccessfully {0};
19 quint64 readsMerged {0};
20 quint64 readSectors {0};
21 quint64 spentReadingTime {0};
22 quint64 writesCompleted {0};
23 quint64 writesMerged {0};
24 quint64 writtenSectors {0};
25 quint64 spentWritingTime {0};
26 quint64 currentProgressIOs {0};
27 quint64 spentDoingIOsTime {0};
28 quint64 spentDoingIOsWeightedTime {0};
29 quint64 discardsCompletedSuccessfully {0};
30 quint64 discardsMerged {0};
31 quint64 discardedSectors {0};
32 quint64 spentDiscardingTime {0};
54 QScopedPointer<DDiskDevicePrivate> d_ptr;
磁盘设备信息.
Definition: ddiskdevice.h:15
DDiskIoStat diskIoStat(int index)
获取指定磁盘的IO状态.
QString temperature(int index)
获取指定磁盘的温度.
QString firmwareVersion(int index)
获取指定磁盘的固件版本.
QString interface(int index)
获取指定磁盘的接口.
QString deviceFile(int index)
获取指定磁盘的设备文件.
QString rotationRate(int index)
获取指定磁盘的转速.
QString vendor(int index)
获取指定磁盘的厂商.
QString serialNumber(int index)
获取指定磁盘的序列号.
QString mediaType(int index)
获取指定磁盘的介质类型.
QString size(int index)
获取指定磁盘大小.
QString model(int index)
获取指定磁盘的型号.
QString sectorSize(int index)
获取指定磁盘的逻辑分区大小.
磁盘IO状态信息
Definition: ddiskdevice.h:17