RTI Connext Traditional C++ API
Version 7.0.0
|
Monitor memory allocations done by the middleware on the native heap. More...
Classes | |
class | NDDSUtilityHeapMonitoring |
Heap Monitoring APIs. More... | |
Enumerations | |
enum | NDDS_Utility_HeapMonitoringSnapshotContentFormat { NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_BIT_TOPIC, NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_BIT_FUNCTION, NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_BIT_ACTIVITY, NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_DEFAULT, NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_MINIMAL } |
Bitmap used to decide which information of the snapshot will be displayed. More... | |
Monitor memory allocations done by the middleware on the native heap.
RTI Connext allows you to monitor the memory allocations done by the middleware on the native heap. This feature can be used to analyze and debug unexpected memory growth.
After NDDSUtilityHeapMonitoring::enable is called, you may invoke NDDSUtilityHeapMonitoring::take_heap_snapshot to save the current heap memory usage to a file. By comparing two snapshots, you can tell if new memory has been allocated and, in many cases, where.
Bitmap used to decide which information of the snapshot will be displayed.
Enumerator | |
---|---|
NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_BIT_TOPIC | Add the topic to the snapshot of heap monitoring. |
NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_BIT_FUNCTION | Add the function name to the snapshot of heap monitoring. |
NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_BIT_ACTIVITY | Add the activity context to the snapshot of heap monitoring. The user can select the information that will be part of the activity context by using the API NDDSConfigActivityContext::set_attribute_mask. |
NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_DEFAULT | Add all the optional attributes to the snapshot of heap monitoring. |
NDDS_UTILITY_HEAP_MONITORING_SNAPSHOT_CONTENT_MINIMAL | Not add any optional attribute to the snapshot of heap monitoring. |