Functions | |
| DeviceProbeSample | take_sample (DiskReader &reader, uint64_t offset, size_t size) |
| std::string | health_to_string (DeviceHealthState state) |
| std::string anonymous_namespace{device_health_probe.cpp}::health_to_string | ( | DeviceHealthState | state | ) |
Definition at line 26 of file device_health_probe.cpp.
References EnumeratedButUnstable, health_to_string(), Healthy, NotReadable, PartiallyReadable, and ReadableWithErrors.
Referenced by health_to_string().
| DeviceProbeSample anonymous_namespace{device_health_probe.cpp}::take_sample | ( | DiskReader & | reader, |
| uint64_t | offset, | ||
| size_t | size ) |
Definition at line 10 of file device_health_probe.cpp.
References DeviceProbeSample::error, DeviceProbeSample::latency_ms, DeviceProbeSample::offset, DiskReader::read_at(), DeviceProbeSample::size, DeviceProbeSample::success, and take_sample().
Referenced by take_sample().