diff options
Diffstat (limited to 'base/process_util.h')
-rw-r--r-- | base/process_util.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/base/process_util.h b/base/process_util.h index e5e3e92..4f33bb0 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -24,7 +24,14 @@ typedef PROCESSENTRY32 ProcessEntry; typedef IO_COUNTERS IoCounters; #elif defined(OS_POSIX) typedef int ProcessEntry; -typedef int IoCounters; //TODO(awalker): replace with struct when available +struct IoCounters { + unsigned long long ReadOperationCount; + unsigned long long WriteOperationCount; + unsigned long long OtherOperationCount; + unsigned long long ReadTransferCount; + unsigned long long WriteTransferCount; + unsigned long long OtherTransferCount; +}; #endif namespace process_util { |