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>
<br>- sanjiv<br>