INtime SDK Help
hpeGetQueueStats
INtime SDK v7.1 > About INtime > Networking and I/O > High-Performance Ethernet > hpeGetQueueStats

Return statistics for an HPE queue.

HPESTATUS hpeGetQueueStats(
    HPEHANDLE devhandle, 
        DWORD queue,
    HPETSTATS *stats
);

Parameters

devhandle
A handle value for the device.
queue
The index of the queue for which staistics are to be returned.
stats
A pointer to a HPESTATS structure where the statistics are to be returned.

Remarks

Not all drivers may have statistics implemented and may not return all of the fields in the structure.

Reading the statistics resets the internal counters.

Return Values

A status value indicating the success or failure of the operation:

E_OK The operation completed successfully.
E_EXIST The handle given is not a handle for an open HPE interface.
E_LIMIT The queue parameter is out of range.
E_BAD_ADDR The stats parameter is not a valid pointer.

Requirements

Versions Defined in Include Link to
INtime 6.0 (HPE3) intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also