<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libdevstat/devstat.h, branch release/6.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-11-03T00:35:26+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-11-03T00:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3640cb54210edbb7edbf1b12ef0127ecfcea967d'/>
<id>3640cb54210edbb7edbf1b12ef0127ecfcea967d</id>
<content type='text'>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>Insta-MFC of the shared library version bump.  All shared libraries</title>
<updated>2005-07-22T17:29:10+00:00</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2005-07-22T17:29:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3f0da39ca54866a1b1c56f539e7af1c67942f1ce'/>
<id>3f0da39ca54866a1b1c56f539e7af1c67942f1ce</id>
<content type='text'>
whose version has not already been bumped since RELENG_5 are being
bumped.

Revisions of files being MFC-ed:

&gt; Path						Revision
&gt; src/gnu/lib/libdialog/Makefile		1.43
&gt; src/gnu/lib/libg2c/Makefile			1.16
&gt; src/gnu/lib/libobjc/Makefile			1.27
&gt; src/gnu/lib/libreadline/Makefile.inc		1.12
&gt; src/gnu/lib/libregex/Makefile			1.32
&gt; src/gnu/lib/libstdc++/Makefile		1.56
&gt; src/kerberos5/lib/Makefile.inc		1.7
&gt; src/lib/Makefile.inc				1.3
&gt; src/lib/libalias/Makefile			1.31
&gt; src/lib/libarchive/Makefile			1.37
&gt; src/lib/libbegemot/Makefile			1.3
&gt; src/lib/libbluetooth/Makefile			1.2
&gt; src/lib/libbsnmp/Makefile.inc			1.6
&gt; src/lib/libbz2/Makefile			1.6
&gt; src/lib/libc_r/Makefile			1.42
&gt; src/lib/libcrypt/Makefile			1.36
&gt; src/lib/libdevstat/Makefile			1.15
&gt; src/lib/libdevstat/devstat.h			1.11
&gt; src/lib/libedit/Makefile			1.29
&gt; src/lib/libexpat/Makefile			1.5
&gt; src/lib/libfetch/Makefile			1.45
&gt; src/lib/libftpio/Makefile			1.14
&gt; src/lib/libgpib/Makefile			1.2
&gt; src/lib/libipsec/Makefile			1.17
&gt; src/lib/libkiconv/Makefile			1.3
&gt; src/lib/libmagic/Makefile			1.7
&gt; src/lib/libmp/Makefile			1.10
&gt; src/lib/libncp/Makefile			1.6
&gt; src/lib/libncurses/Makefile			1.79
&gt; src/lib/libnetgraph/Makefile			1.11
&gt; src/lib/libngatm/Makefile			1.6
&gt; src/lib/libopie/Makefile			1.21
&gt; src/lib/libpam/Makefile.inc			1.17
&gt; src/lib/libpthread/Makefile			1.54
&gt; src/lib/libradius/Makefile			1.12
&gt; src/lib/libsdp/Makefile			1.4
&gt; src/lib/libsmb/Makefile			1.8
&gt; src/lib/libtacplus/Makefile			1.7
&gt; src/lib/libthr/Makefile			1.14
&gt; src/lib/libthread_db/Makefile			1.6
&gt; src/lib/libugidfw/Makefile			1.7
&gt; src/lib/libusbhid/Makefile			1.10
&gt; src/lib/libutil/Makefile			1.57
&gt; src/lib/libvgl/Makefile			1.11
&gt; src/lib/libwrap/Makefile			1.17
&gt; src/lib/libypclnt/Makefile			1.13
&gt; src/lib/msun/Makefile				1.72
&gt; src/secure/lib/libcrypto/Makefile		1.74
&gt; src/secure/lib/libssh/Makefile		1.35
&gt; src/secure/lib/libssl/Makefile		1.22
&gt; src/usr.sbin/bsnmpd/modules/Makefile.inc	1.10

Reviewed by:	ru
Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
whose version has not already been bumped since RELENG_5 are being
bumped.

Revisions of files being MFC-ed:

&gt; Path						Revision
&gt; src/gnu/lib/libdialog/Makefile		1.43
&gt; src/gnu/lib/libg2c/Makefile			1.16
&gt; src/gnu/lib/libobjc/Makefile			1.27
&gt; src/gnu/lib/libreadline/Makefile.inc		1.12
&gt; src/gnu/lib/libregex/Makefile			1.32
&gt; src/gnu/lib/libstdc++/Makefile		1.56
&gt; src/kerberos5/lib/Makefile.inc		1.7
&gt; src/lib/Makefile.inc				1.3
&gt; src/lib/libalias/Makefile			1.31
&gt; src/lib/libarchive/Makefile			1.37
&gt; src/lib/libbegemot/Makefile			1.3
&gt; src/lib/libbluetooth/Makefile			1.2
&gt; src/lib/libbsnmp/Makefile.inc			1.6
&gt; src/lib/libbz2/Makefile			1.6
&gt; src/lib/libc_r/Makefile			1.42
&gt; src/lib/libcrypt/Makefile			1.36
&gt; src/lib/libdevstat/Makefile			1.15
&gt; src/lib/libdevstat/devstat.h			1.11
&gt; src/lib/libedit/Makefile			1.29
&gt; src/lib/libexpat/Makefile			1.5
&gt; src/lib/libfetch/Makefile			1.45
&gt; src/lib/libftpio/Makefile			1.14
&gt; src/lib/libgpib/Makefile			1.2
&gt; src/lib/libipsec/Makefile			1.17
&gt; src/lib/libkiconv/Makefile			1.3
&gt; src/lib/libmagic/Makefile			1.7
&gt; src/lib/libmp/Makefile			1.10
&gt; src/lib/libncp/Makefile			1.6
&gt; src/lib/libncurses/Makefile			1.79
&gt; src/lib/libnetgraph/Makefile			1.11
&gt; src/lib/libngatm/Makefile			1.6
&gt; src/lib/libopie/Makefile			1.21
&gt; src/lib/libpam/Makefile.inc			1.17
&gt; src/lib/libpthread/Makefile			1.54
&gt; src/lib/libradius/Makefile			1.12
&gt; src/lib/libsdp/Makefile			1.4
&gt; src/lib/libsmb/Makefile			1.8
&gt; src/lib/libtacplus/Makefile			1.7
&gt; src/lib/libthr/Makefile			1.14
&gt; src/lib/libthread_db/Makefile			1.6
&gt; src/lib/libugidfw/Makefile			1.7
&gt; src/lib/libusbhid/Makefile			1.10
&gt; src/lib/libutil/Makefile			1.57
&gt; src/lib/libvgl/Makefile			1.11
&gt; src/lib/libwrap/Makefile			1.17
&gt; src/lib/libypclnt/Makefile			1.13
&gt; src/lib/msun/Makefile				1.72
&gt; src/secure/lib/libcrypto/Makefile		1.74
&gt; src/secure/lib/libssh/Makefile		1.35
&gt; src/secure/lib/libssl/Makefile		1.22
&gt; src/usr.sbin/bsnmpd/modules/Makefile.inc	1.10

Reviewed by:	ru
Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>ARGH!</title>
<updated>2003-03-18T17:05:27+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-03-18T17:05:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cb3733b78d6a203e8a018bab86f4c1744dbfe3ec'/>
<id>cb3733b78d6a203e8a018bab86f4c1744dbfe3ec</id>
<content type='text'>
Pointy hat to:	phk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pointy hat to:	phk
</pre>
</div>
</content>
</entry>
<entry>
<title>Commit ken@' changes to this file:  Bump version and append new entries</title>
<updated>2003-03-18T16:44:10+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-03-18T16:44:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0d2fdd7850c5f5942e1999ded2147e0a1e1d1a85'/>
<id>0d2fdd7850c5f5942e1999ded2147e0a1e1d1a85</id>
<content type='text'>
to stay backwards compatible.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to stay backwards compatible.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more devstat calculations, mostly filling in holes, but also adding</title>
<updated>2003-03-18T09:57:54+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-03-18T09:57:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=36eab1f55ace4b4529f568b4d9f0406ac6cc16a6'/>
<id>36eab1f55ace4b4529f568b4d9f0406ac6cc16a6</id>
<content type='text'>
a couple of reqests:  DSM_BUSY_PCT and DSM_QUEUE_LENGTH.

I have no further plans for mutilating this API at this point in
time, and will update the man-page to reflect current reality as
the next thing.

Reviewed by:    ken
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a couple of reqests:  DSM_BUSY_PCT and DSM_QUEUE_LENGTH.

I have no further plans for mutilating this API at this point in
time, and will update the man-page to reflect current reality as
the next thing.

Reviewed by:    ken
</pre>
</div>
</content>
</entry>
<entry>
<title>Run a revision of the devstat interface:</title>
<updated>2003-03-15T21:59:06+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-03-15T21:59:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7194d335cfa65141113997cdc4ac01fe9c4504c1'/>
<id>7194d335cfa65141113997cdc4ac01fe9c4504c1</id>
<content type='text'>
Kernel:

Change statistics to use the *uptime() timescale (ie: relative to
boottime) rather than the UTC aligned timescale.  This makes the
device statistics code oblivious to clock steps.

Change timestamps to bintime format, they are cheaper.

Remove the "busy_count", and replace it with two counter fields:
"start_count" and "end_count", which are updated in the down and
up paths respectively.  This removes the locking constraint on
devstat.

Add a timestamp argument to devstat_start_transaction(), this will
normally be a timestamp set by the *_bio() function in bp-&gt;bio_t0.
Use this field to calculate duration of I/O operations.

Add two timestamp arguments to devstat_end_transaction(), one is
the current time, a NULL pointer means "take timestamp yourself",
the other is the timestamp of when this transaction started (see
above).

Change calculation of busy_time to operate on "the salami principle":
Only when we are idle, which we can determine by the start+end
counts being identical, do we update the "busy_from" field in the
down path.  In the up path we accumulate the timeslice in busy_time
and update busy_from.

Change the byte_* and num_* fields into two arrays: bytes[] and
operations[].

Userland:

Change the misleading "busy_time" name to be called "snap_time" and
make the time long double since that is what most users need anyway,
fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same
timescale as the kernel fields.

Change devstat_compute_etime() to operate on struct bintime.

Remove the version 2 legacy interface: the change to bintime makes
compatibility far too expensive.

Fix a bug in systat's "vm" page where boot relative busy times would
be bogus.

Bump __FreeBSD_version to 500107

Review &amp; Collaboration by:	ken
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kernel:

Change statistics to use the *uptime() timescale (ie: relative to
boottime) rather than the UTC aligned timescale.  This makes the
device statistics code oblivious to clock steps.

Change timestamps to bintime format, they are cheaper.

Remove the "busy_count", and replace it with two counter fields:
"start_count" and "end_count", which are updated in the down and
up paths respectively.  This removes the locking constraint on
devstat.

Add a timestamp argument to devstat_start_transaction(), this will
normally be a timestamp set by the *_bio() function in bp-&gt;bio_t0.
Use this field to calculate duration of I/O operations.

Add two timestamp arguments to devstat_end_transaction(), one is
the current time, a NULL pointer means "take timestamp yourself",
the other is the timestamp of when this transaction started (see
above).

Change calculation of busy_time to operate on "the salami principle":
Only when we are idle, which we can determine by the start+end
counts being identical, do we update the "busy_from" field in the
down path.  In the up path we accumulate the timeslice in busy_time
and update busy_from.

Change the byte_* and num_* fields into two arrays: bytes[] and
operations[].

Userland:

Change the misleading "busy_time" name to be called "snap_time" and
make the time long double since that is what most users need anyway,
fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same
timescale as the kernel fields.

Change devstat_compute_etime() to operate on struct bintime.

Remove the version 2 legacy interface: the change to bintime makes
compatibility far too expensive.

Fix a bug in systat's "vm" page where boot relative busy times would
be bogus.

Bump __FreeBSD_version to 500107

Review &amp; Collaboration by:	ken
</pre>
</div>
</content>
</entry>
<entry>
<title>Turn on WARNS?= 2 for libdevstat.</title>
<updated>2001-09-23T23:03:23+00:00</updated>
<author>
<name>Kenneth D. Merry</name>
<email>ken@FreeBSD.org</email>
</author>
<published>2001-09-23T23:03:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c3508206b2bc6969f1f3ce2fbabb4fdb2b09d9f9'/>
<id>c3508206b2bc6969f1f3ce2fbabb4fdb2b09d9f9</id>
<content type='text'>
Submitted by:	"Sergey A. Osokin" &lt;osa@freebsd.org.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	"Sergey A. Osokin" &lt;osa@freebsd.org.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement compute_stats() in terms of devstat_compute_statistics().  This</title>
<updated>2001-08-18T05:46:59+00:00</updated>
<author>
<name>Kenneth D. Merry</name>
<email>ken@FreeBSD.org</email>
</author>
<published>2001-08-18T05:46:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=884539f70154b0fefdf6905be893c0ceabca755f'/>
<id>884539f70154b0fefdf6905be893c0ceabca755f</id>
<content type='text'>
gets rid of the duplicated code in compute_stats().

Add a new DSM_SKIP statistic type for devstat_compute_statistics() that
causes the subsequent variable argument to be skipped.

Thanks to Sergey Osokin for coding up my idea/code fragment.

Submitted by:	"Sergey A. Osokin" &lt;osa@freebsd.org.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gets rid of the duplicated code in compute_stats().

Add a new DSM_SKIP statistic type for devstat_compute_statistics() that
causes the subsequent variable argument to be skipped.

Thanks to Sergey Osokin for coding up my idea/code fragment.

Submitted by:	"Sergey A. Osokin" &lt;osa@freebsd.org.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some features to libdevstat, and overhaul the interface a bit:</title>
<updated>2001-08-04T18:25:48+00:00</updated>
<author>
<name>Thomas Moestl</name>
<email>tmm@FreeBSD.org</email>
</author>
<published>2001-08-04T18:25:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c4a5ef6ef30906d46c51000748ddc6404255487a'/>
<id>c4a5ef6ef30906d46c51000748ddc6404255487a</id>
<content type='text'>
1.) prefix all functions in the library with devstat_ (compatability
    functions are available for all functions that were chaned in an
    incompatible way, but are deprecated).
2.) Add a pointer to a kvm_t as the first argument to functions that
    used to get their information via sysctl; they behave the same
    as before when NULL is passed as this argument, otherwise, the
    information is obtained via libkvm using the supplied handle.
3.) Add a new function, devstat_compute_statistics(), that is intended
    to replace the old compute_stats() function. It offers more
    statistics data, and has a more flexible interface.

libdevstat does now require libkvm; a library depedency is added, so
that libkvm only needs to be explicitely specified for statically linked
programs.
The library major version number is bumped.

Submitted by:	Sergey A. Osokin &lt;osa@freebsd.org.ru&gt;, ken (3)
Reviewed by:	ken
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1.) prefix all functions in the library with devstat_ (compatability
    functions are available for all functions that were chaned in an
    incompatible way, but are deprecated).
2.) Add a pointer to a kvm_t as the first argument to functions that
    used to get their information via sysctl; they behave the same
    as before when NULL is passed as this argument, otherwise, the
    information is obtained via libkvm using the supplied handle.
3.) Add a new function, devstat_compute_statistics(), that is intended
    to replace the old compute_stats() function. It offers more
    statistics data, and has a more flexible interface.

libdevstat does now require libkvm; a library depedency is added, so
that libkvm only needs to be explicitely specified for statically linked
programs.
The library major version number is bumped.

Submitted by:	Sergey A. Osokin &lt;osa@freebsd.org.ru&gt;, ken (3)
Reviewed by:	ken
</pre>
</div>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
