address_range_t Struct Reference#
Rocprofiler SDK Developer API 0.4.0
ROCm Profiling API and tools
|
rocprofiler::codeobj::segment::address_range_t Struct Reference
#include "rocprofiler-sdk/amd_detail/rocprofiler-sdk-codeobj/segment.hpp"
Collaboration diagram for rocprofiler::codeobj::segment::address_range_t:
Public Member Functions | |
bool | operator== (const address_range_t &other) const |
bool | operator< (const address_range_t &other) const |
bool | inrange (uint64_t _addr) const |
Data Fields | |
uint64_t | addr {0} |
uint64_t | size {0} |
marker_id_t | id {0} |
Detailed Description
Definition at line 40 of file segment.hpp.
Member Function Documentation
◆ inrange()
|
inline |
Definition at line 56 of file segment.hpp.
56{ return addr <= _addr && addr + size > _addr; };
Referenced by rocprofiler::codeobj::segment::CodeobjTableTranslator::find_codeobj_in_range().
Here is the caller graph for this function:
◆ operator<()
|
inline |
Definition at line 51 of file segment.hpp.
52 {
53 if(*this == other) return false;
55 }
References addr.
◆ operator==()
|
inline |
Definition at line 46 of file segment.hpp.
47 {
50 }
Field Documentation
◆ addr
uint64_t rocprofiler::codeobj::segment::address_range_t::addr {0} |
◆ id
marker_id_t rocprofiler::codeobj::segment::address_range_t::id {0} |
Definition at line 44 of file segment.hpp.
44{0};
◆ size
uint64_t rocprofiler::codeobj::segment::address_range_t::size {0} |
The documentation for this struct was generated from the following file:
- rocprofiler-sdk/amd_detail/rocprofiler-sdk-codeobj/segment.hpp
Generated by 1.9.8