NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
NvRmMemHeapParamsRec Struct Reference

Detailed Description

Covers: [Libnvrm_mem_SWUD_108].

Struct for NvRmHeap parameters query.

Valid Range: Members values within valid range

Definition at line 888 of file nvrm_memmgr_safe.h.

Data Fields

NvU64 Total
 Total memory reserved for heap in bytes Range: [0, 2^64 - 1]. More...
 
NvU64 Free
 Free memory available at heap in bytes. More...
 
NvU64 LargestFreeBlock
 Size of largest free block at heap. More...
 
NvU32 GranuleSize
 Size of granule in heap. More...
 

Field Documentation

◆ Free

NvU64 NvRmMemHeapParamsRec::Free

Free memory available at heap in bytes.

Use NVRM_HEAP_FREE_SIZE_UNAVAILABLE when unknown (e.g: dbheap VPR). Consumers must treat the sentinel as "unavailable", not as a byte count. Range: [0, 2^64 - 1] or NVRM_HEAP_FREE_SIZE_UNAVAILABLE

Definition at line 900 of file nvrm_memmgr_safe.h.

◆ GranuleSize

NvU32 NvRmMemHeapParamsRec::GranuleSize

Size of granule in heap.

Only valid for heaps which support allocation in granules. Valid Range: [0, 2^32 - 1]

Definition at line 912 of file nvrm_memmgr_safe.h.

◆ LargestFreeBlock

NvU64 NvRmMemHeapParamsRec::LargestFreeBlock

Size of largest free block at heap.

Use NVRM_HEAP_FREE_SIZE_UNAVAILABLE when unknown (e.g: dbheap VPR). Range: [0, 2^64 - 1] or NVRM_HEAP_FREE_SIZE_UNAVAILABLE

Definition at line 906 of file nvrm_memmgr_safe.h.

◆ Total

NvU64 NvRmMemHeapParamsRec::Total

Total memory reserved for heap in bytes Range: [0, 2^64 - 1].

Definition at line 893 of file nvrm_memmgr_safe.h.


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