Utility that tracks native heap memory usage by RTI Connext DDS
More...
Inherits IDisposable.
|
static HeapMonitor | Enable () |
| Enables heap memory tracking. Heap monitoring must be explicitly enabled before any other RTI Connext DDS operation. More...
|
|
Utility that tracks native heap memory usage by RTI Connext DDS
◆ Enable()
Enables heap memory tracking. Heap monitoring must be explicitly enabled before any other RTI Connext DDS operation.
The full documentation is available in the C API: NDDSHeapMonitoring_enable
◆ Dispose()
void Rti.Utility.HeapMonitor.Dispose |
( |
| ) |
|
|
inline |
Disables heap memory tracking.
The full documentation is available in the C API: NDDSHeapMonitoring_disable
◆ TakeSnapshot() [1/2]
Snapshot Rti.Utility.HeapMonitor.TakeSnapshot |
( |
| ) |
|
Takes a snapshot
- Returns
- An object with information about heap usage
The full documentation is available in the C API: NDDSHeapMonitoring_take_heap_snapshot
◆ TakeSnapshot() [2/2]
Snapshot Rti.Utility.HeapMonitor.TakeSnapshot |
( |
string |
filename, |
|
|
bool |
printDetails |
|
) |
| |
|
inline |
Takes a snapshot and saves the details into a file
- Returns
- An object with information about heap usage
The full documentation is available in the C API: NDDSHeapMonitoring_take_heap_snapshot
◆ Pause()
void Rti.Utility.HeapMonitor.Pause |
( |
| ) |
|
Pauses heap memory tracking
The full documentation is available in the C API: NDDSHeapMonitoring_pause
◆ Resume()
void Rti.Utility.HeapMonitor.Resume |
( |
| ) |
|
Resumes tracking after Pause.
The full documentation is available in the C API: NDDSHeapMonitoring_resume
◆ Instance
Accesses the singleton that allows taking snapshots. Enable must be called before.