Class shared_memory::SegmentInfo¶
-
class shared_memory::SegmentInfo¶
encapsulate information related to a shared memory segment
Public Functions
-
SegmentInfo(boost::interprocess::managed_shared_memory &msm)¶
introspection of the shared memory segment
-
uint get_size() const¶
total size of the segment
-
uint get_free_memory() const¶
free memory of the segment
-
uint get_used_memory() const¶
used memory of the segment
-
bool has_issues() const¶
report on the status of the internal structures of the segment
-
uint nb_objects() const¶
number of objects allocated in the segment
-
void print() const¶
print in the terminal informations about the segment
-
SegmentInfo(boost::interprocess::managed_shared_memory &msm)¶