Boost logo

Boost :

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

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 ?

Boost list run by bdawes at, gregod at, cpdaniel at, john at