<DIV>Thanks for the reply,</DIV>
<DIV> </DIV>
<DIV>Actually I m aiming towards determining two values:</DIV>
<DIV> </DIV>
<DIV>- number of basic blocks in a program </DIV>
<DIV>For this I have used Statistic facility provided in llvm and increasing the counter for each basic block for each function.but for some reason , I m getting different number everytime !!</DIV>
<DIV>Is Statistic is the right way to do it ?</DIV>
<DIV> </DIV>
<DIV>- Average basic block size in a program ( in bytes)</DIV>
<DIV> </DIV>
<DIV>Any suggestions to make it simple and get an accurate result?</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Tanu</DIV>
<DIV><BR><BR><B><I>Chris Lattner <sabre@nondot.org></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Tue, 5 Apr 2005, Tanu Sharma wrote:<BR><BR>> There is tool that calculates execution count and total number of blocks <BR>> , is there anything available to detemine size of basic blocks in a <BR>> program in bytes?<BR><BR>Are you talking about native code? If you run the 'size' utility in unix, <BR>the 'tex' value is the number of bytes of program code. If you're talking <BR>about llvm code, I'm not sure what you mean "size of basic blocks in a <BR>program in bytes".<BR><BR>-Chris<BR><BR>-- <BR>http://nondot.org/sabre/<BR>http://llvm.cs.uiuc.edu/<BR><BR>_______________________________________________<BR>LLVM Developers mailing list<BR>LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu<BR>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev<BR></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br> 
Better first dates. More second dates. <a href="http://us.rd.yahoo.com/evt=27808/*http://personals.yahoo.com">Yahoo! Personals</a>