Data Fields
Pktlib_HeapStats Struct Reference

The structure describes the Heap Statistics. More...

#include <pktlib.h>

Data Fields

uint32_t numFreeDataPackets
 This is the current number of free data packets which are available.
uint32_t numZeroBufferPackets
 This is the current number of free packets (with no buffers) which are available.
uint32_t numPacketsinGarbage
 This is the current number of packets (with & without) data buffers which are in the garbage queue.
uint8_t dataBufferThresholdStatus
 This field is set to indicate that the heap has hit the specified data buffer threshold. It is applicable only if the 'starvation data threshold' was specified during heap creation.
uint8_t dataBufferStarvationCounter
 This is set only if the heap was configured to use starvation queues and indicates the number of times the data buffer queue was starved of packets.
uint8_t zeroDataBufferThresholdStatus
 This field is set to indicate that the heap has hit the specified zero data buffer threshold.It is applicable only if the 'starvation zero buffer treshold' was specified during heap creation.
uint8_t zeroDataBufferStarvationCounter
 This is set only if the heap was configured to use starvation queues and indicates the number of times the zero buffer queue was starved of packets.

Detailed Description

The structure describes the Heap Statistics.

Heap statistics reported by the packet library


The documentation for this struct was generated from the following file:

Copyright 2014, Texas Instruments Incorporated