ping.<br><br><div class="gmail_quote">On Mon, May 9, 2011 at 10:20 PM, Sanjiv <span dir="ltr"><<a href="mailto:llvmdev@gmail.com">llvmdev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I slightly modified the Kaleidoscope example to print the timing data using the NamedRegionTimer as below:<br><br>  // Run the main "interpreter loop" now.<br>  {<br>  const char *GroupName = "MainLoop";<br>

  NamedRegionTimer T("Kaleidoscope", GroupName, true);<br>  MainLoop();<br>  }<br><br>My assumption was that when T goes out of scope, it will emit the data on the command line. But I see nothing.<br>How does NamedRegionTimer work ?<br>
<font color="#888888">
<br>- sanjiv<br>
</font></blockquote></div><br>