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_nop.go | |
parent | 7c4ed8055cc036214279e3ebded74c58d6808d05 (diff) | |
download | dexon-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.tar.gz dexon-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.tar.zst dexon-2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26.zip |
cmd/geth, metrics: separate process metric collection, add disk
Diffstat (limited to 'metrics/disk_nop.go')
-rw-r--r-- | metrics/disk_nop.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/metrics/disk_nop.go b/metrics/disk_nop.go new file mode 100644 index 000000000..539ab8d1a --- /dev/null +++ b/metrics/disk_nop.go @@ -0,0 +1,10 @@ +// +build !linux + +package metrics + +import "errors" + +// ReadDiskStats retrieves the disk IO stats belonging to the current process. +func ReadDiskStats(stats *DiskStats) error { + return errors.New("Not implemented") +} |