$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [BGL] How can I measure the memory used by a Boost graph ?
From: ShNaYkHs ShNaYkHs (shnaykhs_at_[hidden])
Date: 2012-06-22 15:55:54
Hi,
I have a graph defined as follow:
struct NodeData{ /*...*/ };
struct EdgeData{ /*...*/ };
typedef adjacency_list<setS, setS, undirectedS, NodeData, EdgeData> MyGraph;
MyGraph G;
This graph is updated iteratively (by adding/deleting some edges/vertices).
At each iteration, I want to evaluate the memory space occupied by this
graph G. How can I do that ?