sync function prototype with reality.

This commit is contained in:
Philippe Charnier 2005-07-17 13:33:04 +00:00
parent 0499edf459
commit 634eb5fb07
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148093

View file

@ -87,7 +87,10 @@
.Fa "..." .Fa "..."
.Fc .Fc
.Ft "long double" .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 .Sh DESCRIPTION
The The
.Nm .Nm
@ -684,7 +687,9 @@ This can be useful in scenarios where the statistics to be calculated
are determined at run time. are determined at run time.
.El .El
.Pp .Pp
The
.Fn devstat_compute_etime .Fn devstat_compute_etime
function
provides an easy way to find the difference in seconds between two provides an easy way to find the difference in seconds between two
.Vt bintime .Vt bintime
structures. structures.