diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-27 23:12:58 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-30 06:51:02 +0800 |
commit | 2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26 (patch) | |
tree | 8b3a9064a185a0b80f5eeea4a3fb40f5d5995585 /metrics/disk.go | |
parent | 7c4ed8055cc036214279e3ebded74c58d6808d05 (diff) | |
download | go-tangerine-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.tar go-tangerine-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.tar.gz go-tangerine-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.tar.bz2 go-tangerine-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.tar.lz go-tangerine-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.tar.xz go-tangerine-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.tar.zst go-tangerine-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.zip |
cmd/geth, metrics: separate process metric collection, add disk
Diffstat (limited to 'metrics/disk.go')
-rw-r--r-- | metrics/disk.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/metrics/disk.go b/metrics/disk.go new file mode 100644 index 000000000..1b6c56773 --- /dev/null +++ b/metrics/disk.go @@ -0,0 +1,9 @@ +package metrics + +// DiskStats is the per process disk io stats. +type DiskStats struct { + ReadCount int64 // Number of read operations executed + ReadBytes int64 // Total number of bytes read + WriteCount int64 // Number of write operations executed + WriteBytes int64 // Total number of byte written +} |