INtime SDK Help
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


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


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.


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