aboutsummaryrefslogtreecommitdiffstats
path: root/metrics/disk_nop.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-27 23:12:58 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-06-30 06:51:02 +0800
commit2aeeb72fa5c4f90d0ab072a361a678c3cdee8e26 (patch)
tree8b3a9064a185a0b80f5eeea4a3fb40f5d5995585 /metrics/disk_nop.go
parent7c4ed8055cc036214279e3ebded74c58d6808d05 (diff)
downloadgo-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_nop.go')
-rw-r--r--metrics/disk_nop.go10
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")
+}