Function dds_create_statistics

Function Documentation

struct dds_statistics *dds_create_statistics(dds_entity_t entity)

Allocate a new statistics object for entity.

This allocates and populates a newly allocated struct dds_statistics for the specified entity.

Parameters
  • entity[in] the handle of the entity

Returns

a newly allocated and populated statistics structure or NULL if entity is invalid or doesn’t support any statistics.