I asked Sastry about this and here is his reply:
Yes, one could dump the graph directly on the fly. In fact, the first version
I implemented was doing on the fly generation.
Implementing a VCG interface in memory helps multiple clients easily generate
vcg graphs by creating vcg objects and let VCG object do the writing to file.
The clients are oblivious to the vcg format.
There was such an existing VCG interface which I reused in open64.
Hope that helps.
Sastry
From: Yonghong Yan [mailto:ya...@cs.uh.edu]
Sent: Thursday, September 22, 2011 2:35 PM
To: open64-devel@lists.sourceforge.net
Subject: [Open64-devel] SVG graph generation from whirl
I found the post back in Jan 2010 about the VCG graph infrastructure
implementation that Sastry from HP did.
http://sourceforge.net/mailarchive/message.php?msg_id=24430545
First, I think it is a very useful. There is one question. It seems to me that
you put the graph in the memory first with the use of MEM_POOL_Alloc and then
dump it into file. If this is correct, what is the reason that you cannot do it
on the fly, namely, stream the whirl tree to the graph representation in the
file directly.
Thanks
Yonghong
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may
contain
confidential information. Any unauthorized review, use, disclosure or
distribution
is prohibited. If you are not the intended recipient, please contact the
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel