Metrics allow a driver to gather performance information.
DDI provides support for metrics
for disk and network adapter card devices.
Metrics for disk devices
Metrics for disk devices are implemented
using the following in the target driver
for the disk:
allocate a disk statistics structure.
deallocate a disk statistics structure.
update disk structures after a failed attempt
to put a requrest on the queue.
update disk access and responce time histograms
when a request completes.
update disk statistics when
a read or write request completes.
update disk statistics
when a read or write request
is added to the queue.
Metrics for network adapter card devices
Statistical metrics for network adapter cards
gather the information that is reported through the
The MDI statistics gathering capabilities
are implemented through the following:
return statistical information
modify statistical information
clear statistical information
Ethernet statistics structure
IEEE 802.5 token passing ring statistics structure
ANSI Fiber Distributed Data Interface
(FDDI) statistics structure
Metrics for non-MDI network adapter cards
written for DDI versions prior to version 8
are implemented using the following.
register a network interface statistics structure
unregister a network interface statistics structure
network interface statistics structure
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005