summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdevstat')
-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 2b314dd..1241279 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.
OpenPOWER on IntegriCloud