12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef BASE_PROCESS_PROCESS_METRICS_IOCOUNTERS_H_
- #define BASE_PROCESS_PROCESS_METRICS_IOCOUNTERS_H_
- #include <stdint.h>
- #include "base/process/process_metrics.h"
- #include "build/build_config.h"
- #if defined(OS_WIN)
- #include <windows.h>
- #endif
- namespace base {
- #if defined(OS_WIN)
- struct IoCounters : public IO_COUNTERS {};
- #elif defined(OS_POSIX)
- struct IoCounters {
- uint64_t ReadOperationCount;
- uint64_t WriteOperationCount;
- uint64_t OtherOperationCount;
- uint64_t ReadTransferCount;
- uint64_t WriteTransferCount;
- uint64_t OtherTransferCount;
- };
- #endif
- }
- #endif
|