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


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 ?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk