summaryrefslogtreecommitdiff
path: root/lib/libdevstat/devstat.3
diff options
context:
space:
mode:
authorHiten Pandya <hmp@FreeBSD.org>2005-07-25 12:31:55 +0000
committerHiten Pandya <hmp@FreeBSD.org>2005-07-25 12:31:55 +0000
commit6f80dd38ed2ad1af0c78b10e150847d40afb2feb (patch)
tree7c583e7789b3b595e333bc1b1c9bc2a24ee64466 /lib/libdevstat/devstat.3
parent92c22a55fe94b97a19f3d7b2c0fdeab757dbcad3 (diff)
Notes
Diffstat (limited to 'lib/libdevstat/devstat.3')
-rw-r--r--lib/libdevstat/devstat.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libdevstat/devstat.3 b/lib/libdevstat/devstat.3
index 2b314ddb397b..1241279ea38a 100644
--- a/lib/libdevstat/devstat.3
+++ b/lib/libdevstat/devstat.3
@@ -87,7 +87,10 @@
.Fa "..."
.Fc
.Ft "long double"
-.Fn devstat_compute_etime "struct bintime cur_time" "struct bintime prev_time"
+.Fo devstat_compute_etime
+.Fa "struct bintime *cur_time"
+.Fa "struct bintime *prev_time"
+.Fc
.Sh DESCRIPTION
The
.Nm
@@ -684,7 +687,9 @@ This can be useful in scenarios where the statistics to be calculated
are determined at run time.
.El
.Pp
+The
.Fn devstat_compute_etime
+function
provides an easy way to find the difference in seconds between two
.Vt bintime
structures.