address_range_t Struct Reference#
Rocprofiler SDK Developer API 0.5.0
ROCm Profiling API and tools
|
rocprofiler::sdk::codeobj::segment::address_range_t Struct Reference
#include "rocprofiler-sdk/cxx/codeobj/segment.hpp"
Collaboration diagram for rocprofiler::sdk::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 42 of file segment.hpp.
Member Function Documentation
◆ inrange()
|
inline |
Definition at line 58 of file segment.hpp.
58{ return addr <= _addr && addr + size > _addr; };
Referenced by rocprofiler::sdk::codeobj::segment::CodeobjTableTranslator::find_codeobj_in_range().
Here is the caller graph for this function:
◆ operator<()
|
inline |
Definition at line 53 of file segment.hpp.
54 {
55 if(*this == other) return false;
57 }
References addr.
◆ operator==()
|
inline |
Definition at line 48 of file segment.hpp.
49 {
52 }
Field Documentation
◆ addr
uint64_t rocprofiler::sdk::codeobj::segment::address_range_t::addr {0} |
◆ id
marker_id_t rocprofiler::sdk::codeobj::segment::address_range_t::id {0} |
Definition at line 46 of file segment.hpp.
46{0};
◆ size
uint64_t rocprofiler::sdk::codeobj::segment::address_range_t::size {0} |
The documentation for this struct was generated from the following file:
- rocprofiler-sdk/cxx/codeobj/segment.hpp
Generated by 1.9.8