aboutsummaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-07 20:55:06 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-07 20:55:06 +0800
commit9e7d5d9d3b4ad686409fec7beb08792d38052a2c (patch)
tree30b1d1ddfb99e73c08125df3b9806eebff0506a6 /metrics
parent3016f238646510ed309b76d571addf381e341af4 (diff)
parentb2d18393c4287a348f3776d1ddf9bcd01758ba8a (diff)
downloadgo-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.gz
go-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.tar.zst
go-tangerine-9e7d5d9d3b4ad686409fec7beb08792d38052a2c.zip
Merge pull request #1426 from fjl/license
all: update license information and godoc comments
Diffstat (limited to 'metrics')
-rw-r--r--metrics/disk.go16
-rw-r--r--metrics/disk_linux.go16
-rw-r--r--metrics/disk_nop.go16
-rw-r--r--metrics/metrics.go16
4 files changed, 64 insertions, 0 deletions
diff --git a/metrics/disk.go b/metrics/disk.go
index 1b6c56773..c85ee21df 100644
--- a/metrics/disk.go
+++ b/metrics/disk.go
@@ -1,3 +1,19 @@
+// Copyright 2015 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
package metrics
// DiskStats is the per process disk io stats.
diff --git a/metrics/disk_linux.go b/metrics/disk_linux.go
index 82b204534..ee7ad8756 100644
--- a/metrics/disk_linux.go
+++ b/metrics/disk_linux.go
@@ -1,3 +1,19 @@
+// Copyright 2015 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
// Contains the Linux implementation of process disk IO counter retrieval.
package metrics
diff --git a/metrics/disk_nop.go b/metrics/disk_nop.go
index 539ab8d1a..bab7d14db 100644
--- a/metrics/disk_nop.go
+++ b/metrics/disk_nop.go
@@ -1,3 +1,19 @@
+// Copyright 2015 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
// +build !linux
package metrics
diff --git a/metrics/metrics.go b/metrics/metrics.go
index 33004ee3b..09d1f8b31 100644
--- a/metrics/metrics.go
+++ b/metrics/metrics.go
@@ -1,3 +1,19 @@
+// Copyright 2015 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
// Package metrics provides general system and process level metrics collection.
package metrics